Appearance
FormMessage
Text hint/error dùng bởi FormField (cũng dùng độc lập được).
ts
import { FormMessage } from "@minap/ui";Sample
Props / API
| Prop / API | Type | Default | Notes |
|---|---|---|---|
tone | "hint" | "error" | "hint" | |
id | string | — | Cho aria-describedby |
role | string | — | Dùng alert cho lỗi |
Behavior
- Khác với FormMessage RHF trên @minap/ui/form
Related
- Category:
forms-inputs - Catalog gallery:
/catalog/forms-inputs