@@ -121,7 +121,7 @@ Playground.argTypes = {
121
121
control : {
122
122
type : 'text' ,
123
123
} ,
124
- defaultValue : 'this is an example label' ,
124
+ defaultValue : 'This is an example label' ,
125
125
} ,
126
126
warn : {
127
127
control : {
@@ -139,7 +139,7 @@ Playground.argTypes = {
139
139
control : {
140
140
type : 'text' ,
141
141
} ,
142
- defaultValue : 'this is an example title' ,
142
+ defaultValue : 'This is an example title' ,
143
143
} ,
144
144
size : {
145
145
options : [ 'sm' , 'md' , 'lg' ] ,
@@ -158,7 +158,6 @@ export const Default = () => (
158
158
id = "default"
159
159
titleText = "Dropdown label"
160
160
helperText = "This is some helper text"
161
- initialSelectedItem = { items [ 0 ] }
162
161
label = "Dropdown menu options"
163
162
items = { items }
164
163
itemToString = { ( item ) => ( item ? item . text : '' ) }
@@ -171,7 +170,6 @@ export const Inline = () => (
171
170
< Dropdown
172
171
id = "inline"
173
172
titleText = "Inline dropdown label"
174
- initialSelectedItem = { items [ 0 ] }
175
173
label = "Dropdown menu options"
176
174
type = "inline"
177
175
items = { items }
@@ -186,7 +184,6 @@ export const WithLayer = () => (
186
184
id = "default"
187
185
titleText = "First Layer"
188
186
helperText = "This is some helper text"
189
- initialSelectedItem = { items [ 0 ] }
190
187
label = "Dropdown menu options"
191
188
items = { items }
192
189
itemToString = { ( item ) => ( item ? item . text : '' ) }
@@ -196,7 +193,6 @@ export const WithLayer = () => (
196
193
id = "default"
197
194
titleText = "Second Layer"
198
195
helperText = "This is some helper text"
199
- initialSelectedItem = { items [ 0 ] }
200
196
label = "Dropdown menu options"
201
197
items = { items }
202
198
itemToString = { ( item ) => ( item ? item . text : '' ) }
@@ -206,7 +202,6 @@ export const WithLayer = () => (
206
202
id = "default"
207
203
titleText = "Third Layer"
208
204
helperText = "This is some helper text"
209
- initialSelectedItem = { items [ 0 ] }
210
205
label = "Dropdown menu options"
211
206
items = { items }
212
207
itemToString = { ( item ) => ( item ? item . text : '' ) }
@@ -221,7 +216,6 @@ export const InlineWithLayer = () => (
221
216
< Dropdown
222
217
id = "inline"
223
218
titleText = "First Layer"
224
- initialSelectedItem = { items [ 0 ] }
225
219
label = "Dropdown menu options"
226
220
type = "inline"
227
221
items = { items }
@@ -231,7 +225,6 @@ export const InlineWithLayer = () => (
231
225
< Dropdown
232
226
id = "inline"
233
227
titleText = "Second Layer"
234
- initialSelectedItem = { items [ 0 ] }
235
228
label = "Dropdown menu options"
236
229
type = "inline"
237
230
items = { items }
@@ -241,7 +234,6 @@ export const InlineWithLayer = () => (
241
234
< Dropdown
242
235
id = "inline"
243
236
titleText = "Third Layer"
244
- initialSelectedItem = { items [ 0 ] }
245
237
label = "Dropdown menu options"
246
238
type = "inline"
247
239
items = { items }
0 commit comments