[Sheets] [Pt. 4] Convert Pressable in Menu (WIP) (#5562)

This commit is contained in:
Hailey
2024-10-02 15:49:36 -07:00
committed by GitHub
parent 5b08aad014
commit 0037353528
5 changed files with 24 additions and 29 deletions
-8
View File
@@ -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}