@univerjs/design v0.5.0-beta.1 • Docs
Interface: ISelectProps
Properties
Property | Type | Description | Defined in |
---|---|---|---|
borderless? | boolean | Whether the borderless style is used Default false | submodules/univer/packages/design/src/components/select/Select.tsx:55 |
className? | string | - | submodules/univer/packages/design/src/components/select/Select.tsx:57 |
disabled? | boolean | - | submodules/univer/packages/design/src/components/select/Select.tsx:75 |
dropdownRender? | (menu : ReactElement <any , string | JSXElementConstructor <any >>) => ReactElement <any , string | JSXElementConstructor <any >> | - | submodules/univer/packages/design/src/components/select/Select.tsx:63 |
dropdownStyle? | CSSProperties | - | submodules/univer/packages/design/src/components/select/Select.tsx:71 |
labelRender? | (props : LabelInValueType ) => ReactNode | - | submodules/univer/packages/design/src/components/select/Select.tsx:67 |
mode? | "multiple" | "combobox" | "tags" | select mode | submodules/univer/packages/design/src/components/select/Select.tsx:61 |
onChange | (value : string ) => void | The callback function that is triggered when the value is changed | submodules/univer/packages/design/src/components/select/Select.tsx:47 |
onDropdownVisibleChange? | (open : boolean ) => void | - | submodules/univer/packages/design/src/components/select/Select.tsx:73 |
open? | boolean | - | submodules/univer/packages/design/src/components/select/Select.tsx:69 |
options? | IOption [] | The options of select Default [] | submodules/univer/packages/design/src/components/select/Select.tsx:42 |
style? | CSSProperties | - | submodules/univer/packages/design/src/components/select/Select.tsx:49 |
value | string | The value of select | submodules/univer/packages/design/src/components/select/Select.tsx:36 |