File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -583,6 +583,7 @@ If you want to use a custom component as your <Content />, you can use the creat
583583 onMenuDidShow = { onMenuDidShow }
584584 onMenuWillHide = { onMenuWillHide }
585585 onMenuWillShow = { onMenuWillShow }
586+ { ...props . __unsafeIosProps }
586587 >
587588 { triggerItem }
588589 </ Component >
Original file line number Diff line number Diff line change @@ -3,13 +3,15 @@ import type { MenuContentProps as RadixContentProps } from '@radix-ui/react-drop
33import type {
44 ContextMenuView ,
55 MenuAuxiliaryPreviewConfig ,
6+ ContextMenuButton ,
67} from 'react-native-ios-context-menu'
78import type {
89 ImageOptions ,
910 ImageSystemSymbolConfiguration ,
1011} from 'react-native-ios-context-menu/lib/typescript/types/ImageItemConfig'
1112
1213import type { SFSymbol } from 'sf-symbols-typescript'
14+ import type { ComponentProps } from 'react'
1315
1416type ViewStyle = React . ComponentProps < typeof View > [ 'style' ]
1517type TextStyle = React . ComponentProps < typeof Text > [ 'style' ]
@@ -24,6 +26,10 @@ export type MenuRootProps = {
2426 * @platform `ios`
2527 */
2628 onOpenWillChange ?: ( willOpen : boolean ) => void
29+
30+ __unsafeIosProps ?:
31+ | ComponentProps < typeof ContextMenuView >
32+ | ComponentProps < typeof ContextMenuButton >
2733}
2834
2935/**
You can’t perform that action at this time.
0 commit comments