created:7/7/2021
updated:7/7/2021
loc
9
comments
33%
passed
1
failed
3
coverage
100%
ColorInputField
grommet-controls
3.0.2A Color selection field with form validation
Name | Description | Default |
|---|---|---|
| validation | default validation rules ValidationType | ValidationType[] | - |
| name | field name string | - |
| label | field label ReactNode | - |
| description | field help/description string | - |
| controlLabel | if separate - label of the FormField ReactNode | - |
| inField | whether the field is in a FormField boolean | - |
| children | child component (props: IFieldProps) => any | - |
| colors | Color palette for the user to choose a color from object | - |
package | imports | peer |
|---|---|---|
react ^17.0.1 | React | * |
file | imports |
|---|---|
| "../ColorInput" | ColorInputIColorInputProps |
| "../WithFormField" | IWithFormFieldPropsWithFormField |