File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -241,23 +241,25 @@ Looks.parameters = {
241
241
} ;
242
242
243
243
export const WithIcon = ( ) => html `
244
- < uui-button look ="danger " label ="A11Y proper label ">
245
- < uui-icon .name =${ 'bug' } > </ uui-icon >
246
- </ uui-button >
247
- < br />
248
- < br />
249
- < uui-button look ="danger " label ="A11Y proper label ">
250
- < uui-icon .name =${ 'bug' } > </ uui-icon > Button with icon
251
- </ uui-button >
252
- < br />
253
- < br />
254
- < p >
255
- The default sizing for a button with only an icon is generally too wide,
256
- there please use with the 'compact' attribute.
257
- </ p >
258
- < uui-button look ="positive " compact label ="A11Y proper label ">
259
- < uui-icon name ="alert "> </ uui-icon >
260
- </ uui-button >
244
+ < uui-icon-registry-essential >
245
+ < uui-button look ="danger " label ="A11Y proper label ">
246
+ < uui-icon .name =${ 'favorite' } > </ uui-icon >
247
+ </ uui-button >
248
+ < br />
249
+ < br />
250
+ < uui-button look ="danger " label ="A11Y proper label ">
251
+ < uui-icon .name =${ 'favorite' } > </ uui-icon > Button with icon
252
+ </ uui-button >
253
+ < br />
254
+ < br />
255
+ < p >
256
+ The default sizing for a button with only an icon is generally too wide,
257
+ there please use with the 'compact' attribute.
258
+ </ p >
259
+ < uui-button look ="positive " compact label ="A11Y proper label ">
260
+ < uui-icon name ="favorite "> </ uui-icon >
261
+ </ uui-button >
262
+ </ uui-icon-registry-essential >
261
263
` ;
262
264
WithIcon . parameters = {
263
265
docs : {
You can’t perform that action at this time.
0 commit comments