File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
packages/web-components/src/components/icons Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 66 variants = { [
77 {
88 label: ' Default' ,
9- variant: ' components-icon --default'
9+ variant: ' elements-icons --default'
1010 },
1111 {
1212 label: ' With Custom Class' ,
13- variant: ' components-icon --with-custom-class'
13+ variant: ' elements-icons --with-custom-class'
1414 },
1515 {
1616 label: ' With aria-label' ,
17- variant: ' components-icon --with-aria-label'
17+ variant: ' elements-icons --with-aria-label'
1818 },
1919 {
2020 label: ' With Title' ,
21- variant: ' components-icon --with-title'
21+ variant: ' elements-icons --with-title'
2222 }
2323 ]}
2424/>
Original file line number Diff line number Diff line change 11import { ArgTypes , Meta } from ' @storybook/blocks' ;
2- import * as IconStories from ' ./icon .stories' ;
2+ import * as IconsStories from ' ./icons .stories' ;
33
4- <Meta of = { IconStories } />
4+ <Meta of = { IconsStories } />
55
6- # Icon
6+ # Icons
77
88Icons can be utilized by specifying the icon name and size in the import.
99
@@ -27,5 +27,5 @@ function App() {
2727 );
2828` ` `
2929
30- Icon library can be found
30+ Icons library can be found
3131[here](https://www.carbondesignsystem.com/guidelines/icons/library).
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export const withTitle = {
7272} ;
7373
7474const meta = {
75- title : 'Components/Icon ' ,
75+ title : 'Elements/Icons ' ,
7676} ;
7777
7878export default meta ;
You can’t perform that action at this time.
0 commit comments