File tree Expand file tree Collapse file tree 3 files changed +16
-16
lines changed
Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const BTN_STYLES = {
2424} ;
2525
2626
27- export const Basic = {
27+ export const Basic : StoryObj = {
2828 render ( args ) {
2929 const table = document . createElement ( 'table' ) ;
3030 const headerRow = table . insertRow ( ) ;
@@ -67,23 +67,23 @@ export const Basic = {
6767 }
6868} ;
6969
70- export const Elevated = {
70+ export const Elevated : StoryObj = {
7171 ...Basic ,
7272 args : {
7373 label : 'Button' ,
7474 classes : [ 'btn' , 'elevated' ]
7575 }
7676} ;
7777
78- export const FloatingWithText = {
78+ export const FloatingWithText : StoryObj = {
7979 ...Basic ,
8080 args : {
8181 label : 'B' ,
8282 classes : [ 'btn-floating' ]
8383 }
8484} ;
8585
86- export const FloatingWithIcon = {
86+ export const FloatingWithIcon : StoryObj = {
8787 ...Basic ,
8888 args : {
8989 label : '' ,
@@ -92,7 +92,7 @@ export const FloatingWithIcon = {
9292 }
9393} ;
9494
95- export const IconLeft = {
95+ export const IconLeft : StoryObj = {
9696 ...Basic ,
9797 args : {
9898 label : 'Button' ,
@@ -101,7 +101,7 @@ export const IconLeft = {
101101 }
102102} ;
103103
104- export const IconRight = {
104+ export const IconRight : StoryObj = {
105105 ...Basic ,
106106 args : {
107107 label : 'Submit' ,
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export default {
66} satisfies Meta ;
77
88
9- export const Default = {
10- render ( args ) {
9+ export const Default : StoryObj = {
10+ render ( ) {
1111 return `
1212<form action="#">
1313 <p>
@@ -39,8 +39,8 @@ export const Default = {
3939 }
4040} ;
4141
42- export const FilledIn = {
43- render ( args ) {
42+ export const FilledIn : StoryObj = {
43+ render ( ) {
4444 return `
4545<form action="#">
4646 <p>
@@ -72,8 +72,8 @@ export const FilledIn = {
7272 }
7373} ;
7474
75- export const Indeterminate = {
76- render ( args ) {
75+ export const Indeterminate : StoryObj = {
76+ render ( ) {
7777 return `
7878<form action="#">
7979 <p>
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export default {
66} satisfies Meta ;
77
88
9- export const Default = {
10- render ( args ) {
9+ export const Default : StoryObj = {
10+ render ( ) {
1111 return `
1212<form action="#">
1313 <p>
@@ -39,8 +39,8 @@ export const Default = {
3939 }
4040} ;
4141
42- export const WithGap = {
43- render ( args ) {
42+ export const WithGap : StoryObj = {
43+ render ( ) {
4444 return `
4545<p>
4646 <label>
You can’t perform that action at this time.
0 commit comments