{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "banner",
  "title": "Banner",
  "type": "registry:ui",
  "files": [
    {
      "path": "packages/registry-native/components/banner/Banner.tsx",
      "content": "import * as React from 'react'\nimport { View } from 'react-native'\nimport { Alert, type AlertProps } from '@/components/ui/alert'\nimport { cn } from '@/lib/utils'\n\nexport interface BannerProps extends AlertProps {\n  visible?: boolean\n}\n\nexport const Banner = React.forwardRef<React.ComponentRef<typeof View>, BannerProps>(\n  ({ visible = true, className, ...props }, ref) =>\n    visible ? <Alert ref={ref} className={cn('bg-secondary', className)} {...props} /> : null,\n)\nBanner.displayName = 'Banner'\n\nexport {\n  AlertTitle as BannerTitle,\n  AlertDescription as BannerDescription,\n  AlertActions as BannerActions,\n} from '@/components/ui/alert'\n",
      "type": "registry:ui",
      "target": "~/components/ui/banner/Banner.tsx"
    },
    {
      "path": "packages/registry-native/components/banner/index.ts",
      "content": "export * from './Banner'\n",
      "type": "registry:ui",
      "target": "~/components/ui/banner/index.ts"
    }
  ],
  "dependencies": [],
  "devDependencies": [],
  "registryDependencies": [
    "https://native.uipkge.dev/r/native/alert.json"
  ],
  "description": "Inline banner notice with caller-owned visibility and composable title, description, and actions.",
  "categories": [
    "feedback"
  ]
}