@univerjs/design v0.5.0-beta.1 • Docs
Interface: IDropdownProps
Properties
Property | Type | Description | Defined in |
---|---|---|---|
align? | AlignType | The align of the dropdown | submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:70 |
alignPoint? | boolean | Whether the dropdown aligns to the point Default false | submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:65 |
children | ReactElement <any , string | JSXElementConstructor <any >> | The dropdown content | submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:32 |
className? | string | Semantic DOM class | submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:27 |
disabled? | boolean | Disable dropdown from showing up. | submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:79 |
forceRender? | boolean | Whether to force render the dropdown Default false | submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:43 |
onVisibleChange? | (visible : boolean ) => void | Triggered after the dropdown visibility changes | submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:76 |
overlay | ReactElement <any , string | JSXElementConstructor <any >> | The dropdown overlay | submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:59 |
placement? | | "bottom" | "top" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | The placement of the dropdown | submodules/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? | boolean | Whether the dropdown is visible | submodules/univer/packages/design/src/components/dropdown/Dropdown.tsx:37 |