File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ interface PopoverProps {
12
12
variant ?: PopoverVariant
13
13
title ?: React . ReactElement
14
14
content ?: React . ReactElement
15
+ onOpenComplete ?: ( ) => void
15
16
onPressOutside ?: ( ) => void
16
17
// Called when its dismissed
17
18
onDismiss ?: ( ) => void
@@ -27,6 +28,7 @@ export const Popover = ({
27
28
variant = "dark" ,
28
29
children,
29
30
visible,
31
+ onOpenComplete,
30
32
onPressOutside,
31
33
onDismiss,
32
34
onCloseComplete,
@@ -75,6 +77,7 @@ export const Popover = ({
75
77
// this is required to make sure that the popover is positioned correctly on android
76
78
verticalOffset = { Platform . OS === "android" ? - ( StatusBar . currentHeight ?? 0 ) : 0 }
77
79
onCloseComplete = { onCloseComplete }
80
+ onOpenComplete = { onOpenComplete }
78
81
onRequestClose = { onPressOutside }
79
82
placement = { placement as RNPopover [ "props" ] [ "placement" ] }
80
83
arrowSize = { { height : 11 , width : 22 } }
You can’t perform that action at this time.
0 commit comments