File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
second-gen/packages/swc/components/status-light/stories Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -56,27 +56,15 @@ argTypes.variant = {
5656// },
5757// };
5858
59- args [ 'default-slot' ] = {
60- name : 'Default slot' ,
61- type : { name : 'string' , required : false } ,
62- description : 'The text label of the status light.' ,
63- control : { type : 'text' } ,
64- table : {
65- type : { summary : 'string' } ,
66- defaultValue : { summary : '' } ,
67- } ,
68- } ;
59+ args [ 'default-slot' ] = 'Status light' ;
60+ args . size = 'm' ;
6961
7062const meta : Meta = {
7163 title : 'Status light' ,
7264 component : 'swc-status-light' ,
7365 argTypes,
7466 parameters : { } ,
75- args : {
76- [ 'default-slot' ] : 'Status light' ,
77- variant : 'info' ,
78- size : 'm' ,
79- } ,
67+ args,
8068 render : ( args ) => template ( args ) ,
8169 tags : [ 'migrated' ] ,
8270} ;
You can’t perform that action at this time.
0 commit comments