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 = {
24
24
} ;
25
25
26
26
27
- export const Basic = {
27
+ export const Basic : StoryObj = {
28
28
render ( args ) {
29
29
const table = document . createElement ( 'table' ) ;
30
30
const headerRow = table . insertRow ( ) ;
@@ -67,23 +67,23 @@ export const Basic = {
67
67
}
68
68
} ;
69
69
70
- export const Elevated = {
70
+ export const Elevated : StoryObj = {
71
71
...Basic ,
72
72
args : {
73
73
label : 'Button' ,
74
74
classes : [ 'btn' , 'elevated' ]
75
75
}
76
76
} ;
77
77
78
- export const FloatingWithText = {
78
+ export const FloatingWithText : StoryObj = {
79
79
...Basic ,
80
80
args : {
81
81
label : 'B' ,
82
82
classes : [ 'btn-floating' ]
83
83
}
84
84
} ;
85
85
86
- export const FloatingWithIcon = {
86
+ export const FloatingWithIcon : StoryObj = {
87
87
...Basic ,
88
88
args : {
89
89
label : '' ,
@@ -92,7 +92,7 @@ export const FloatingWithIcon = {
92
92
}
93
93
} ;
94
94
95
- export const IconLeft = {
95
+ export const IconLeft : StoryObj = {
96
96
...Basic ,
97
97
args : {
98
98
label : 'Button' ,
@@ -101,7 +101,7 @@ export const IconLeft = {
101
101
}
102
102
} ;
103
103
104
- export const IconRight = {
104
+ export const IconRight : StoryObj = {
105
105
...Basic ,
106
106
args : {
107
107
label : 'Submit' ,
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export default {
6
6
} satisfies Meta ;
7
7
8
8
9
- export const Default = {
10
- render ( args ) {
9
+ export const Default : StoryObj = {
10
+ render ( ) {
11
11
return `
12
12
<form action="#">
13
13
<p>
@@ -39,8 +39,8 @@ export const Default = {
39
39
}
40
40
} ;
41
41
42
- export const FilledIn = {
43
- render ( args ) {
42
+ export const FilledIn : StoryObj = {
43
+ render ( ) {
44
44
return `
45
45
<form action="#">
46
46
<p>
@@ -72,8 +72,8 @@ export const FilledIn = {
72
72
}
73
73
} ;
74
74
75
- export const Indeterminate = {
76
- render ( args ) {
75
+ export const Indeterminate : StoryObj = {
76
+ render ( ) {
77
77
return `
78
78
<form action="#">
79
79
<p>
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export default {
6
6
} satisfies Meta ;
7
7
8
8
9
- export const Default = {
10
- render ( args ) {
9
+ export const Default : StoryObj = {
10
+ render ( ) {
11
11
return `
12
12
<form action="#">
13
13
<p>
@@ -39,8 +39,8 @@ export const Default = {
39
39
}
40
40
} ;
41
41
42
- export const WithGap = {
43
- render ( args ) {
42
+ export const WithGap : StoryObj = {
43
+ render ( ) {
44
44
return `
45
45
<p>
46
46
<label>
You can’t perform that action at this time.
0 commit comments