({
label,
description,
errorMessage,
...props
}: TimeFieldProps<T>)
| 16 | } |
| 17 | |
| 18 | export function TimeField<T extends TimeValue>({ |
| 19 | label, |
| 20 | description, |
| 21 | errorMessage, |
| 22 | ...props |
| 23 | }: TimeFieldProps<T>) { |
| 24 | return ( |
| 25 | <AriaTimeField {...props}> |
| 26 | <Label>{label}</Label> |
| 27 | <DateInput>{segment => <DateSegment segment={segment} />}</DateInput> |
| 28 | {description && <Description>{description}</Description>} |
| 29 | <FieldError>{errorMessage}</FieldError> |
| 30 | </AriaTimeField> |
| 31 | ); |
| 32 | } |
nothing calls this directly
no outgoing calls
no test coverage detected