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:
Ashley Field 2026-02-27 05:32:03 +13:00 committed by GitHub
parent 67a2d2ebe9
commit 144110b02a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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
View File

@ -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;
/**