{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "section-header",
  "title": "Section header",
  "description": "title + action, outside the card",
  "dependencies": [],
  "registryDependencies": [
    "@kit-native/lib-utils",
    "@kit-native/text"
  ],
  "files": [
    {
      "path": "components/kit/section-header.tsx",
      "content": "import { Text } from '@/components/ui/text';\nimport { cn } from '@/lib/utils';\nimport { Pressable, View } from 'react-native';\n\ntype Props = {\n  title: string;\n  /** Optional trailing text action (\"See all\"). */\n  action?: string;\n  onAction?: () => void;\n  className?: string;\n};\n\n/** Section title with optional action. Sits OUTSIDE the card it introduces. */\nexport function SectionHeader({ title, action, onAction, className }: Props) {\n  return (\n    <View className={cn('flex-row items-end justify-between', className)}>\n      <Text variant=\"large\">{title}</Text>\n      {action ? (\n        <Pressable onPress={onAction} hitSlop={8} accessibilityRole=\"button\" className=\"min-h-11 justify-center\">\n          <Text className=\"text-primary text-sm font-medium\">{action}</Text>\n        </Pressable>\n      ) : null}\n    </View>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/kit/section-header.tsx"
    }
  ],
  "meta": {
    "exports": [
      "SectionHeader"
    ],
    "api": "<SectionHeader title action? onAction? />"
  },
  "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": [
    "navigation"
  ],
  "type": "registry:component"
}