{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "navigation-example-screen",
  "title": "Navigation Example Screen",
  "type": "registry:lib",
  "files": [
    {
      "path": "packages/registry-native/bootstrap/navigation-example-screen/index.tsx",
      "content": "import type { ReactNode } from 'react'\nimport { ScrollView, View, useWindowDimensions } from 'react-native'\nimport { useSafeAreaInsets } from 'react-native-safe-area-context'\nimport { useThemeColors } from '@/lib/theme'\n\nexport function NavigationExampleScreen({ children, hasTabBar = false }: { children: ReactNode; hasTabBar?: boolean }) {\n  const { background } = useThemeColors()\n  const insets = useSafeAreaInsets()\n  const { width } = useWindowDimensions()\n  const gutter = width - insets.left - insets.right >= 600 ? 24 : 16\n\n  // The navigator owns the top inset and the tab bar owns the bottom inset when present.\n  return (\n    <ScrollView\n      contentInsetAdjustmentBehavior=\"never\"\n      automaticallyAdjustContentInsets={false}\n      automaticallyAdjustsScrollIndicatorInsets={false}\n      scrollIndicatorInsets={{ right: insets.right }}\n      style={{ backgroundColor: background, flex: 1, marginBottom: hasTabBar ? 0 : insets.bottom }}\n      contentContainerStyle={{\n        paddingTop: 16,\n        paddingRight: insets.right + gutter,\n        paddingBottom: 24,\n        paddingLeft: insets.left + gutter,\n      }}\n    >\n      <View style={{ alignSelf: 'center', gap: 16, maxWidth: 640, width: '100%' }}>{children}</View>\n    </ScrollView>\n  )\n}\n",
      "type": "registry:lib",
      "target": "~/lib/navigation-example-screen.tsx"
    }
  ],
  "dependencies": [
    "react-native-safe-area-context"
  ],
  "devDependencies": [],
  "registryDependencies": [],
  "description": "Safe-area and scroll layout shared by the Expo Router navigation examples."
}