Skip to content

Commit

Permalink
docs(menu-item): add suffix and chevron story
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-joe committed Nov 23, 2023
1 parent 02bc9fe commit 6c0bee8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/menu/src/menu-item/menu-item.stories.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Tag } from '@dhis2/ui'
import { colors } from '@dhis2/ui-constants'
import {
IconApps24,
Expand Down Expand Up @@ -97,6 +98,13 @@ Suffix.args = {
suffix: <IconLaunch16 color={colors.grey600} />,
}

export const SuffixAndChevron = Template.bind({})
SuffixAndChevron.args = {
label: 'Security notifications',
chevron: true,
suffix: <Tag>3</Tag>,
}

export const OnClick = (args) => (
<Menu>
<MenuItem
Expand Down

0 comments on commit 6c0bee8

Please sign in to comment.