@univerjs/design v0.5.0-beta.1Docs


Interface: IInputProps

Extends

  • Pick<InputProps, "onFocus" | "onBlur">

Extended by

Properties

PropertyTypeDescriptionInherited fromDefined in
affixWrapperStyle?CSSPropertiesThe input affix wrapper style-submodules/univer/packages/design/src/components/input/Input.tsx:40
allowClear?booleanWhether the input is clearable Default false-submodules/univer/packages/design/src/components/input/Input.tsx:68
autoFocus?booleanWhether the input is autoFocus Default false-submodules/univer/packages/design/src/components/input/Input.tsx:30
className?stringThe input class name-submodules/univer/packages/design/src/components/input/Input.tsx:35
disabled?booleanWhether the input is disabled Default false-submodules/univer/packages/design/src/components/input/Input.tsx:74
onBlur?FocusEventHandler<HTMLInputElement>-Pick.onBlurnode_modules/.pnpm/@types+react@18.3.12/node_modules/@types/react/index.d.ts:2411
onChange?(value: string) => voidCallback when user input-submodules/univer/packages/design/src/components/input/Input.tsx:92
onClick?(e: MouseEvent<HTMLInputElement, MouseEvent>) => voidCallback when user click-submodules/univer/packages/design/src/components/input/Input.tsx:80
onFocus?FocusEventHandler<HTMLInputElement>-Pick.onFocusnode_modules/.pnpm/@types+react@18.3.12/node_modules/@types/react/index.d.ts:2409
onKeyDown?(e: KeyboardEvent<HTMLInputElement>) => voidCallback when user press a key-submodules/univer/packages/design/src/components/input/Input.tsx:86
placeholder?stringThe 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?stringThe input content value-submodules/univer/packages/design/src/components/input/Input.tsx:56