Skip to content

Commit 12b8a36

Browse files
committed
updated showcase page for Button carbonization
1 parent a593042 commit 12b8a36

File tree

1 file changed

+9
-1
lines changed
  • showcase/app/components/page-carbonization/components

1 file changed

+9
-1
lines changed

showcase/app/components/page-carbonization/components/button.gts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const ButtonCarbonization: TemplateOnlyComponent = <template>
132132
<SF.Item>
133133
<HdsButton
134134
@icon="plus"
135+
@iconPosition="trailing"
135136
@text="Lorem ipsum"
136137
@size={{size}}
137138
@isInline={{true}}
@@ -163,7 +164,12 @@ const ButtonCarbonization: TemplateOnlyComponent = <template>
163164
{{#each COLORS as |color|}}
164165
<ShwCarbonizationComparisonGrid @label={{color}}>
165166
<:theming>
166-
<HdsButton @icon="plus" @text="Lorem ipsum" @color={{color}} />
167+
<HdsButton
168+
@icon="plus"
169+
@iconPosition="trailing"
170+
@text="Lorem ipsum"
171+
@color={{color}}
172+
/>
167173
</:theming>
168174
<:reference>
169175
<cds-button size="md" kind={{mapHdsColorToCdsKind color}}><HdsIcon
@@ -190,6 +196,7 @@ const ButtonCarbonization: TemplateOnlyComponent = <template>
190196
{{#if (eq state "disabled")}}
191197
<HdsButton
192198
@icon="plus"
199+
@iconPosition="trailing"
193200
@text="Lorem"
194201
@size={{size}}
195202
@color={{color}}
@@ -198,6 +205,7 @@ const ButtonCarbonization: TemplateOnlyComponent = <template>
198205
{{else}}
199206
<HdsButton
200207
@icon="plus"
208+
@iconPosition="trailing"
201209
@text="Lorem"
202210
@size={{size}}
203211
@color={{color}}

0 commit comments

Comments
 (0)