Appearance
Form
Helper react-hook-form — chỉ subpath (không phải named export chính của @minap/ui).
ts
import { Form, FormField, FormItem, FormControl, FormLabel, FormMessage } from "@minap/ui/form";Sample
Props / API
| Prop / API | Type | Default | Notes |
|---|---|---|---|
…form | UseFormReturn | — | Spread useForm() lên Form |
FormField name | FieldPath | — | Field path RHF |
rules | RegisterOptions | — | Validation |
Behavior
- Tránh stub react-server RHF của App Router
- Ưu tiên FormField MINAP trừ khi cần RHF
Related
- Category:
forms-inputs - Catalog gallery:
/catalog/forms-inputs