Skip to content

Instantly share code, notes, and snippets.

@amitkumarRoy
Created October 1, 2018 08:18
Embed
What would you like to do?
lightning:menuDivider Component
<aura:component >
<lightning:buttonMenu aura:id="menu" iconName="utility:settings" alternativeText="Show menu" onselect="{! c.handleSelect }">
<lightning:menuItem label="Menu Item One" value="MenuItemOne" />
<lightning:menuDivider variant="compact"/>
<lightning:menuItem label="Menu Item Two" value="MenuItemTwo" />
<lightning:menuItem label="Menu Item Three" value="MenuItemThree" disabled="true" />
<lightning:menuDivider variant="compact"/>
<lightning:menuItem label="Menu Item Four" value="MenuItemFour" />
</lightning:buttonMenu>
</aura:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment