@univerjs/design v0.5.0-beta.1 • Docs
Interface: IInputProps
Extends
Pick
<InputProps
,"onFocus"
|"onBlur"
>
Extended by
Properties
Property | Type | Description | Inherited from | Defined in |
---|---|---|---|---|
affixWrapperStyle? | CSSProperties | The input affix wrapper style | - | submodules/univer/packages/design/src/components/input/Input.tsx:40 |
allowClear? | boolean | Whether the input is clearable Default false | - | submodules/univer/packages/design/src/components/input/Input.tsx:68 |
autoFocus? | boolean | Whether the input is autoFocus Default false | - | submodules/univer/packages/design/src/components/input/Input.tsx:30 |
className? | string | The input class name | - | submodules/univer/packages/design/src/components/input/Input.tsx:35 |
disabled? | boolean | Whether the input is disabled Default false | - | submodules/univer/packages/design/src/components/input/Input.tsx:74 |
onBlur? | FocusEventHandler <HTMLInputElement > | - | Pick.onBlur | node_modules/.pnpm/@types+react@18.3.12/node_modules/@types/react/index.d.ts:2411 |
onChange? | (value : string ) => void | Callback when user input | - | submodules/univer/packages/design/src/components/input/Input.tsx:92 |
onClick? | (e : MouseEvent <HTMLInputElement , MouseEvent >) => void | Callback when user click | - | submodules/univer/packages/design/src/components/input/Input.tsx:80 |
onFocus? | FocusEventHandler <HTMLInputElement > | - | Pick.onFocus | node_modules/.pnpm/@types+react@18.3.12/node_modules/@types/react/index.d.ts:2409 |
onKeyDown? | (e : KeyboardEvent <HTMLInputElement >) => void | Callback when user press a key | - | submodules/univer/packages/design/src/components/input/Input.tsx:86 |
placeholder? | string | The input placeholder | - | submodules/univer/packages/design/src/components/input/Input.tsx:51 |
size? | "middle" | "small" | "large" | The input size Default middle | - | submodules/univer/packages/design/src/components/input/Input.tsx:62 |
type? | "text" | "password" | The input type Default text | - | submodules/univer/packages/design/src/components/input/Input.tsx:46 |
value? | string | The input content value | - | submodules/univer/packages/design/src/components/input/Input.tsx:56 |