MCPcopy Create free account
hub / github.com/adobe/react-spectrum / DateInput

Function DateInput

starters/tailwind/src/DateField.tsx:55–69  ·  view source on GitHub ↗
(props: Omit<DateInputProps, 'children'>)

Source from the content-addressed store, hash-verified

53});
54
55export function DateInput(props: Omit<DateInputProps, 'children'>) {
56 return (
57 <AriaDateInput
58 className={renderProps =>
59 fieldGroupStyles({
60 ...renderProps,
61 class:
62 'inline min-w-[150px] px-3 h-9 text-sm leading-8.5 font-sans cursor-text disabled:cursor-default whitespace-nowrap overflow-x-auto [scrollbar-width:none]'
63 })
64 }
65 {...props}>
66 {segment => <DateSegment segment={segment} className={segmentStyles} />}
67 </AriaDateInput>
68 );
69}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected