Skip to content

Commit

Permalink
refactor: atoms-button-icon-overflow refactoring from <ul> to <menu>
Browse files Browse the repository at this point in the history
  • Loading branch information
StfBauer committed Nov 5, 2022
1 parent 9682f49 commit 3445f48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
Expand Up @@ -4,5 +4,7 @@
{{!-- When no drop down items are shown there is not need to show the dropdown --}}
</button>
{{!-- When no drop down items are shown there is not need to show the dropdown --}}
{{> atoms-menu-flyouts contextItems=ddItems }}
{{#contextMenu}}
{{> atoms-menu-flyouts }}
{{/contextMenu}}
</div>
12 changes: 1 addition & 11 deletions htwoo-core/src/_patterns/atoms/buttons/button-icon-overflow.json
@@ -1,14 +1,4 @@
{
"iconDown": "icon-ellipses",
"label": "New Item",
"ddItems": [
{
"label": "Email message",
"icon": "icon-ninjacat"
},
{
"label": "Calendar Event",
"icon": "icon-minus"
}
]
"label": "New Item"
}

0 comments on commit 3445f48

Please sign in to comment.