[Sheets] [Pt. 4] Convert Pressable in Menu (WIP) (#5562)
This commit is contained in:
@@ -89,20 +89,12 @@ export function Outer({
|
||||
[open, close],
|
||||
)
|
||||
|
||||
// @TODO DIALOG REFACTOR - what is this? rm i think?
|
||||
// React.useEffect(() => {
|
||||
// return () => {
|
||||
// setDialogIsOpen(control.id, false)
|
||||
// }
|
||||
// }, [control.id, setDialogIsOpen])
|
||||
|
||||
const context = React.useMemo(() => ({close}), [close])
|
||||
|
||||
return (
|
||||
<Portal>
|
||||
<Context.Provider value={context}>
|
||||
<BlueskyBottomSheetView
|
||||
// handleIndicatorStyle={{backgroundColor: t.palette.primary_500}} // @TODO DIALOG REFACTOR need to add this to lib!*/
|
||||
ref={ref}
|
||||
topInset={30}
|
||||
bottomInset={insets.bottom}
|
||||
|
||||
Reference in New Issue
Block a user