{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footnote",
  "title": "Footnote",
  "description": "small print / disclosure, last in the scroll",
  "dependencies": [],
  "registryDependencies": [
    "@kit-native/lib-utils",
    "@kit-native/text"
  ],
  "files": [
    {
      "path": "components/kit/footnote.tsx",
      "content": "import { Text } from '@/components/ui/text';\nimport { cn } from '@/lib/utils';\nimport { Pressable, View } from 'react-native';\n\ntype Props = {\n  children: string;\n  /** Trailing link — \"Learn more\", \"Read the terms\". */\n  action?: { label: string; onPress: () => void };\n  className?: string;\n};\n\n/** Small print at the foot of a screen — disclosures, legal copy, data notes. */\nexport function Footnote({ children, action, className }: Props) {\n  return (\n    <View className={cn('gap-2', className)}>\n      <Text className=\"text-muted-foreground text-xs leading-5\">{children}</Text>\n      {action ? (\n        <Pressable\n          onPress={action.onPress}\n          hitSlop={8}\n          accessibilityRole=\"link\"\n          className=\"min-h-11 justify-center\">\n          <Text className=\"text-xs font-semibold underline\">{action.label}</Text>\n        </Pressable>\n      ) : null}\n    </View>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/kit/footnote.tsx"
    }
  ],
  "meta": {
    "exports": [
      "Footnote"
    ],
    "api": "<Footnote action?>{copy}</Footnote>"
  },
  "docs": "Run `npx expo install --fix` afterwards so Expo SDK packages match your SDK. Needs the kit theme (`@kit-native/theme`) and `KitThemeProvider` from `@kit-native/lib-theme-context` at the root.",
  "categories": [
    "layout"
  ],
  "type": "registry:component"
}