Skip to content

Commit

Permalink
fix: update storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Mar 24, 2023
1 parent 2863386 commit 142fe91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/stories/Picker.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const Default = Template.bind({});
Default.args = {
label: 'Default picker',
name: 'Default',
hintText: 'Default hint text',
items: [
{
label: 'Orange',
Expand All @@ -48,6 +49,7 @@ PickerWithValue.args = {
label: 'Picker with defined value',
name: 'Picker with defined value',
value: 'apple',
hintText: 'Picker with hint text',
items: [
{
label: 'Orange',
Expand All @@ -64,6 +66,7 @@ const ErrorStory = Template.bind({});
ErrorStory.args = {
label: 'Picker with error',
name: 'PickerWithError',
hintText: 'Picker hint text',
errorText: 'This field has an error.',
items: [
{
Expand All @@ -81,7 +84,9 @@ const Disabled = Template.bind({});
Disabled.args = {
label: 'Picker disabled',
name: 'Disabled',
value: 'orange',
isDisabled: true,
hintText: 'Picker hint text',
items: [
{
label: 'Orange',
Expand Down

0 comments on commit 142fe91

Please sign in to comment.