{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "card",
"type": "registry:ui",
"title": "Card",
"description": "Card container with header/title/description/content/footer slots.",
"registryDependencies": [
"https://raw.githubusercontent.com/truongnat/rnui/main/registry/dist/nativewind/utils.json",
"https://raw.githubusercontent.com/truongnat/rnui/main/registry/dist/nativewind/text.json",
"https://raw.githubusercontent.com/truongnat/rnui/main/registry/dist/nativewind/theme.json"
],
"files": [
{
"path": "registry/shared/ui/card.tsx",
"type": "registry:ui",
"target": "components/ui/card.tsx",
"content": "import { StyleSheet, View, type ViewProps } from 'react-native';\nimport { Text, type TextProps } from '@/components/ui/text';\nimport { cn } from '@/lib/utils';\n\nexport function Card({\n className,\n style,\n ...props\n}: ViewProps & { className?: string }) {\n return (\n \n );\n}\n\nexport function CardHeader({\n className,\n ...props\n}: ViewProps & { className?: string }) {\n return (\n \n );\n}\n\nexport function CardTitle({ className, ...props }: TextProps) {\n return (\n \n );\n}\n\nexport function CardDescription({ className, ...props }: TextProps) {\n return (\n \n );\n}\n\nexport function CardContent({\n className,\n ...props\n}: ViewProps & { className?: string }) {\n return ;\n}\n\nexport function CardFooter({\n className,\n ...props\n}: ViewProps & { className?: string }) {\n return (\n \n );\n}\n"
}
]
}