import Stack from "expo-router/stack"; import { useCallback } from "react"; import { useResolveClassNames } from "uniwind"; import { useClerkSettingsSheetDetent } from "../../features/cloud/ClerkSettingsSheetDetent"; import { useThemeColor } from "../../lib/useThemeColor"; export const unstable_settings = { anchor: "index", }; export default function SettingsLayout() { const { collapse } = useClerkSettingsSheetDetent(); const contentStyle = useResolveClassNames("bg-sheet"); const sheetBg = useThemeColor("--color-sheet"); const headerTint = useThemeColor("--color-foreground"); const handleClerkRouteTransitionEnd = useCallback( (event: { data: { closing: boolean } }) => { if (event.data.closing) { collapse(); } }, [collapse], ); return ( ); }