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

Function Input

starters/tailwind/src/Field.tsx:84–94  ·  view source on GitHub ↗
(props: InputProps)

Source from the content-addressed store, hash-verified

82}
83
84export function Input(props: InputProps) {
85 return (
86 <RACInput
87 {...props}
88 className={composeTailwindRenderProps(
89 props.className,
90 'px-3 py-0 min-h-9 flex-1 min-w-0 border-0 outline outline-0 bg-white dark:bg-neutral-900 font-sans text-sm text-neutral-800 dark:text-neutral-200 placeholder:text-neutral-600 dark:placeholder:text-neutral-400 disabled:text-neutral-200 dark:disabled:text-neutral-600 disabled:placeholder:text-neutral-200 dark:disabled:placeholder:text-neutral-600 [-webkit-tap-highlight-color:transparent]'
91 )}
92 />
93 );
94}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected