({label, description, errorMessage, ...props}: ColorFieldProps)
| 26 | } |
| 27 | |
| 28 | export function ColorField({label, description, errorMessage, ...props}: ColorFieldProps) { |
| 29 | return ( |
| 30 | <AriaColorField |
| 31 | {...props} |
| 32 | className={composeTailwindRenderProps(props.className, 'flex flex-col gap-1 font-sans')}> |
| 33 | {label && <Label>{label}</Label>} |
| 34 | <Input className={inputStyles} /> |
| 35 | {description && <Description>{description}</Description>} |
| 36 | <FieldError>{errorMessage}</FieldError> |
| 37 | </AriaColorField> |
| 38 | ); |
| 39 | } |
nothing calls this directly
no test coverage detected