diff --git a/source/_patterns/02-components/dropdown/dropdown.hbs b/source/_patterns/02-components/dropdown/dropdown.hbs index df02cbdd3a..fd64b68ab6 100644 --- a/source/_patterns/02-components/dropdown/dropdown.hbs +++ b/source/_patterns/02-components/dropdown/dropdown.hbs @@ -1 +1 @@ -{{> components-overflow-menu patternName="cmp-dropdown" entry01="Profileinstellungen" entry02="Logout" }} +{{> components-overflow-menu patternName="cmp-dropdown" entry01="Profileinstellungen" entry02="Logout" icon=icon }} diff --git a/source/_patterns/02-components/dropdown/dropdown~individual-icon.json b/source/_patterns/02-components/dropdown/dropdown~individual-icon.json new file mode 100644 index 0000000000..f33e6596c7 --- /dev/null +++ b/source/_patterns/02-components/dropdown/dropdown~individual-icon.json @@ -0,0 +1,3 @@ +{ + "icon": "add" +} diff --git a/source/_patterns/02-components/dropdown/dropdown~individual-icon.md b/source/_patterns/02-components/dropdown/dropdown~individual-icon.md new file mode 100644 index 0000000000..954cdbe9ea --- /dev/null +++ b/source/_patterns/02-components/dropdown/dropdown~individual-icon.md @@ -0,0 +1,9 @@ +--- +title: Dropddown - Individual icon +state: inreview +order: 3 +--- + +## Individual icon + +By defining an `[data-icon]` on the included `summary` HTML tag, you could overwrite the included standard icon for the button to open the overflow menu. diff --git a/source/_patterns/02-components/overflow-menu/overflow-menu.hbs b/source/_patterns/02-components/overflow-menu/overflow-menu.hbs index 43de0cc80d..44e36bedd1 100644 --- a/source/_patterns/02-components/overflow-menu/overflow-menu.hbs +++ b/source/_patterns/02-components/overflow-menu/overflow-menu.hbs @@ -1,6 +1,6 @@ {{#if linkEntries }}{{/if }}