Searchfield
Installation
Usage
import { SearchField, SearchFieldClear, SearchFieldInput } from '@/components/pumki-ui/form/searchfield.tsx';<Searchfield />Props
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | — | The text label displayed above the search field, describing its purpose. |
description | string | — | Additional information or instructions displayed below the label to help users understand the search field. |
errorMessage | string | ((validation: ValidationResult) => string) | — | The error message shown when validation fails. Can be a static string or a function that returns a string based on the validation result. |
Last updated on