(props: Omit<DateInputProps, 'children'>)
| 194 | } |
| 195 | |
| 196 | export function DateInput(props: Omit<DateInputProps, 'children'>): ReactElement { |
| 197 | return ( |
| 198 | <AriaDateInput className="" {...props}> |
| 199 | {segment => ( |
| 200 | <AriaDateSegment |
| 201 | segment={segment} |
| 202 | className={renderProps => |
| 203 | dateSegment({...renderProps, isPunctuation: segment.type === 'literal'}) |
| 204 | } |
| 205 | /> |
| 206 | )} |
| 207 | </AriaDateInput> |
| 208 | ); |
| 209 | } |
| 210 | |
| 211 | export function InvalidIndicator(props: { |
| 212 | isInvalid: boolean; |
nothing calls this directly
no outgoing calls
no test coverage detected