Skip to content

Commit

Permalink
Add data-slot attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Dec 18, 2023
1 parent a3c7692 commit 09740d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions svgo.16.solid.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default {
{
fill: 'currentColor',
'aria-hidden': 'true',
'data-slot': 'icon',
},
],
},
Expand Down
1 change: 1 addition & 0 deletions svgo.20.solid.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default {
{
fill: 'currentColor',
'aria-hidden': 'true',
'data-slot': 'icon',
},
],
},
Expand Down
1 change: 1 addition & 0 deletions svgo.24.outline.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default {
'stroke-width': '1.5',
stroke: 'currentColor',
'aria-hidden': 'true',
'data-slot': 'icon',
},
],
},
Expand Down
1 change: 1 addition & 0 deletions svgo.24.solid.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default {
{
fill: 'currentColor',
'aria-hidden': 'true',
'data-slot': 'icon',
},
],
},
Expand Down

1 comment on commit 09740d9

@adamchainz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I ask why this change was made? data attributes are all user-defined so it seems unlikely most use cases don't need data-slot?

Please sign in to comment.