Skip to content

Commit

Permalink
Merge pull request #14 from maartenvanvliet/fix-typescript-types
Browse files Browse the repository at this point in the history
Fix typescript types
  • Loading branch information
mpiannucci authored Sep 17, 2020
2 parents e517e4c + e4a813c commit 68c3cca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ export interface ContextMenuAction {
* The icon to use on ios. This is the name of the SFSymbols icon to use. On Android nothing will happen if you set this option.
*/
systemIcon?: string;
/**
* Destructive items are rendered in red on iOS, and unchanged on Android.
*/
destructive?: boolean
/**
* Whether the action is disabled or not
*/
disabled?: boolean
}

export interface ContextMenuOnPressNativeEvent {
Expand Down

0 comments on commit 68c3cca

Please sign in to comment.