Update docs in regards to destructive only working on iOS (#174)
* Remove docs stating `destructive` is only compatible on iOS * Revert formatting changes
This commit is contained in:
parent
67a2d2ebe9
commit
144110b02a
@ -60,7 +60,7 @@ Array of `{ title: string, subtitle?: string, systemIcon?: string, icon?: string
|
||||
|
||||
- `iconColor` will change the color of the icon provided to the `icon` prop and has no effect on `systemIcon` (default: black)
|
||||
|
||||
- `destructive` items are rendered in red (iOS only, default: false)
|
||||
- `destructive` items are rendered in red (default: false)
|
||||
|
||||
- `selected` items have a checkmark next to them (iOS only, default: false)
|
||||
|
||||
|
||||
2
index.d.ts
vendored
2
index.d.ts
vendored
@ -32,7 +32,7 @@ export interface ContextMenuAction {
|
||||
*/
|
||||
iconColor?: string;
|
||||
/**
|
||||
* Destructive items are rendered in red on iOS, and unchanged on Android. (default: false)
|
||||
* Destructive items are rendered in red. (default: false)
|
||||
*/
|
||||
destructive?: boolean;
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user