Download node_modules/@headlessui/react/dist/components/input/input.d.ts from sitcod3/modul-s: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/spaces/sitcod3/modul-s/resolve/c06e4783a2be21cd7ca9fedf1ede4d4f0156ba3a/node_modules/%40headlessui/react/dist/components/input/input.d.ts
- Command line
-
hf download hf://spaces/sitcod3/modul-s@c06e4783a2be21cd7ca9fedf1ede4d4f0156ba3a/node_modules/@headlessui/react/dist/components/input/input.d.ts
-
curl -L -o input.d.ts https://huggingface.co/spaces/sitcod3/modul-s/resolve/c06e4783a2be21cd7ca9fedf1ede4d4f0156ba3a/node_modules/%40headlessui/react/dist/components/input/input.d.ts
1.11 kB
| import { type ElementType, type Ref } from 'react'; | |
| import type { Props } from '../../types.js'; | |
| import { type HasDisplayName, type RefProp } from '../../utils/render.js'; | |
| declare let DEFAULT_INPUT_TAG: "input"; | |
| type InputRenderPropArg = { | |
| disabled: boolean; | |
| hover: boolean; | |
| focus: boolean; | |
| autofocus: boolean; | |
| invalid: boolean; | |
| }; | |
| type InputPropsWeControl = 'aria-labelledby' | 'aria-describedby'; | |
| export type InputProps<TTag extends ElementType = typeof DEFAULT_INPUT_TAG> = Props<TTag, InputRenderPropArg, InputPropsWeControl, { | |
| disabled?: boolean; | |
| invalid?: boolean; | |
| autoFocus?: boolean; | |
| }>; | |
| declare function InputFn<TTag extends ElementType = typeof DEFAULT_INPUT_TAG>(props: InputProps<TTag>, ref: Ref<HTMLElement>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null; | |
| export interface _internal_ComponentInput extends HasDisplayName { | |
| <TTag extends ElementType = typeof DEFAULT_INPUT_TAG>(props: InputProps<TTag> & RefProp<typeof InputFn>): React.JSX.Element; | |
| } | |
| export declare let Input: _internal_ComponentInput; | |
| export {}; | |