File tree 1 file changed +5
-0
lines changed 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ const Default = Template.bind({});
31
31
Default . args = {
32
32
label : 'Default picker' ,
33
33
name : 'Default' ,
34
+ hintText : 'Default hint text' ,
34
35
items : [
35
36
{
36
37
label : 'Orange' ,
@@ -48,6 +49,7 @@ PickerWithValue.args = {
48
49
label : 'Picker with defined value' ,
49
50
name : 'Picker with defined value' ,
50
51
value : 'apple' ,
52
+ hintText : 'Picker with hint text' ,
51
53
items : [
52
54
{
53
55
label : 'Orange' ,
@@ -64,6 +66,7 @@ const ErrorStory = Template.bind({});
64
66
ErrorStory . args = {
65
67
label : 'Picker with error' ,
66
68
name : 'PickerWithError' ,
69
+ hintText : 'Picker hint text' ,
67
70
errorText : 'This field has an error.' ,
68
71
items : [
69
72
{
@@ -81,7 +84,9 @@ const Disabled = Template.bind({});
81
84
Disabled . args = {
82
85
label : 'Picker disabled' ,
83
86
name : 'Disabled' ,
87
+ value : 'orange' ,
84
88
isDisabled : true ,
89
+ hintText : 'Picker hint text' ,
85
90
items : [
86
91
{
87
92
label : 'Orange' ,
You can’t perform that action at this time.
0 commit comments