Datefield
Birth date
mmddyyyy
Installation
Usage
import { DateField, DateInput } from "@/components/pumki-ui/date-time/datefield";<Datefield />Props
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | — | The label for the field, displayed above the input segments. |
description | string | — | Optional description text shown below the input segments. |
errorMessage | string | ((validation: ValidationResult) => string) | — | Error message to display below the field, or a function returning a message based on validation. |
Last updated on