({
label,
description,
errorMessage,
placeholder,
...props
}: ColorFieldProps)
| 16 | } |
| 17 | |
| 18 | export function ColorField({ |
| 19 | label, |
| 20 | description, |
| 21 | errorMessage, |
| 22 | placeholder, |
| 23 | ...props |
| 24 | }: ColorFieldProps) { |
| 25 | return ( |
| 26 | <AriaColorField {...props}> |
| 27 | {label && <Label>{label}</Label>} |
| 28 | <Input className="react-aria-Input inset" placeholder={placeholder} /> |
| 29 | {description && <Description>{description}</Description>} |
| 30 | <FieldError>{errorMessage}</FieldError> |
| 31 | </AriaColorField> |
| 32 | ); |
| 33 | } |
nothing calls this directly
no outgoing calls
no test coverage detected