@lendi-ui/menu-dropdown
v4.3.10
Published
A MenuDropdown component.
Downloads
1,556
Maintainers
Keywords
Readme
@lendi-ui/menu-dropdown
A MenuDropdown component.
Installation
yarn add @lendi-ui/menu-dropdown
Usage
import MenuDropdown from '@lendi-ui/menu-dropdown';
<MenuDropdown />;
## Properties
<PropTable>
<PropTable.Entry name="iconBefore" type="MenuDropdown.Trigger" defaultValue="none" description="Icon before the Trigger"/>
<PropTable.Entry name="iconAfter" type="MenuDropdown.Trigger" defaultValue="none" description="Icon after the Trigger"/>
<PropTable.Entry name="size" type="MenuDropdown.Content.Item" defaultValue="md" description="Size of the Menu Dropdown Item"/>
<PropTable.Entry name="onClick" type="MenuDropdown.Content.Item" defaultValue="none" description="Callback you pass down to be called when item is clicked"/>
<PropTable.Entry name="icon" type="MenuDropdown.Content.Item" defaultValue="none" description="Icon for the content item"/>
</PropTable>