NativeResourceForm
packages/ui-native/src/data/NativeResourceForm.tsx
Import
Subpath export:
@marktiderman/genesis-ui-native/dataimport { NativeResourceForm } from "@marktiderman/genesis-ui-native/data";Components
Auto-generated from TypeScript source via
react-docgen-typescript.NativeResourceForm
| Prop | Type | Default | Description |
|---|---|---|---|
| action* | enum | — | |
| resource* | string | — | |
| fields | ResourceFormFieldDef[] | — | |
| item | Record<string, unknown> | — | |
| layout | enum | screen | |
| listData | Record<string, unknown>[] | — | |
| onError | ((error: Error) => void) | — | |
| onSuccess | ((data: Record<string, unknown>) => void) | — | |
| renderForm | ((form: UseFormReturn<Record<string, unknown>>, fields: ResourceFormFieldDef[]) => ReactNode) | — | |
| title | string | — |