({
label,
description,
errorMessage,
...props
}: TimeFieldProps<T>)
| 17 | } |
| 18 | |
| 19 | export function TimeField<T extends TimeValue>({ |
| 20 | label, |
| 21 | description, |
| 22 | errorMessage, |
| 23 | ...props |
| 24 | }: TimeFieldProps<T>) { |
| 25 | return ( |
| 26 | <AriaTimeField |
| 27 | {...props} |
| 28 | className={composeTailwindRenderProps(props.className, 'flex flex-col gap-1 font-sans')}> |
| 29 | <Label>{label}</Label> |
| 30 | <DateInput /> |
| 31 | {description && <Description>{description}</Description>} |
| 32 | <FieldError>{errorMessage}</FieldError> |
| 33 | </AriaTimeField> |
| 34 | ); |
| 35 | } |
nothing calls this directly
no test coverage detected