{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "progress", "type": "registry:ui", "title": "Progress", "description": "Determinate progress bar.", "registryDependencies": [ "https://raw.githubusercontent.com/truongnat/rnui/main/registry/dist/nativewind/utils.json", "https://raw.githubusercontent.com/truongnat/rnui/main/registry/dist/nativewind/theme.json" ], "files": [ { "path": "registry/shared/ui/progress.tsx", "type": "registry:ui", "target": "components/ui/progress.tsx", "content": "import { View, type ViewProps } from 'react-native';\nimport { cn } from '@/lib/utils';\n\nexport interface ProgressProps extends ViewProps {\n /** 0–100 */\n value?: number;\n className?: string;\n indicatorClassName?: string;\n}\n\nexport function Progress({\n value = 0,\n className,\n indicatorClassName,\n ...props\n}: ProgressProps) {\n const pct = Math.min(100, Math.max(0, value));\n\n return (\n \n \n \n );\n}\n" } ] }