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


Interface: ISelectListProps

Properties

PropertyTypeDescriptionDefined in
className?stringThe className of the wrappersubmodules/univer/packages/design/src/components/select-list/SelectList.tsx:60
hideCheckMark?booleanWhether to hide the check mark Default falsesubmodules/univer/packages/design/src/components/select-list/SelectList.tsx:43
multiple?boolean-submodules/univer/packages/design/src/components/select-list/SelectList.tsx:50
onChange(value: undefined | string | string[]) => voidThe callback function that is triggered when the value is changedsubmodules/univer/packages/design/src/components/select-list/SelectList.tsx:48
optionClassName?stringThe className each optionsubmodules/univer/packages/design/src/components/select-list/SelectList.tsx:55
options?{ color: string; label: string; value: string; }[]The options of select Default []submodules/univer/packages/design/src/components/select-list/SelectList.tsx:33
valuestring | string[]The value of selectsubmodules/univer/packages/design/src/components/select-list/SelectList.tsx:27