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


Interface: IDropdownProps

Properties

PropertyTypeDescriptionDefined in
align?AlignTypeThe align of the dropdownsubmodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:70
alignPoint?booleanWhether the dropdown aligns to the point Default falsesubmodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:65
childrenReactElement<any, string | JSXElementConstructor<any>>The dropdown contentsubmodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:32
className?stringSemantic DOM classsubmodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:27
disabled?booleanDisable dropdown from showing up.submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:79
forceRender?booleanWhether to force render the dropdown Default falsesubmodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:43
onVisibleChange?(visible: boolean) => voidTriggered after the dropdown visibility changessubmodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:76
overlayReactElement<any, string | JSXElementConstructor<any>>The dropdown overlaysubmodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:59
placement?| "bottom" | "top" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight"The placement of the dropdownsubmodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:54
trigger?ActionType | ActionType[]The trigger mode which executes the dropdown action Default ['click']submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:49
visible?booleanWhether the dropdown is visiblesubmodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:37