{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "form", "type": "registry:ui", "title": "Form", "description": "Form from @pitsi-ui/native for native projects.", "dependencies": [], "registryDependencies": [], "files": [ { "path": "registry/native-ui/src/components/form/form.tsx", "content": "import { forwardRef, type ReactNode } from \"react\";\nimport { View, type ViewProps } from \"react-native\";\n\nexport interface FormRootProps extends ViewProps {\n children?: ReactNode;\n className?: string;\n onReset?: () => void;\n onSubmit?: () => void;\n}\n\nconst FormRoot = forwardRef(\n ({ children, className, onReset: _onReset, onSubmit: _onSubmit, ...props }, ref) => {\n return (\n \n {children}\n \n );\n },\n);\n\nFormRoot.displayName = \"PitsiUINative.Form\";\n\nexport { FormRoot };\n", "type": "registry:ui", "target": "@components/pitsi-ui/native-ui/src/components/form/form.tsx" }, { "path": "registry/native-ui/src/components/form/index.ts", "content": "import type { ComponentProps } from \"react\";\n\nimport { FormRoot } from \"./form\";\n\nexport const Form = Object.assign(FormRoot, {\n Root: FormRoot,\n});\n\nexport type Form = {\n Props: ComponentProps;\n RootProps: ComponentProps;\n};\n\nexport type { FormRootProps, FormRootProps as FormProps } from \"./form\";\nexport { FormRoot };\n", "type": "registry:ui", "target": "@components/pitsi-ui/native-ui/src/components/form/index.ts" } ], "categories": [ "native", "react-native", "ui" ], "meta": { "package": "@pitsi-ui/native", "packageSlug": "native-ui", "platform": "native" } }