Skip to content

Commit

Permalink
docs(Dropdown): add missing props to args
Browse files Browse the repository at this point in the history
  • Loading branch information
dakahn committed Jul 14, 2022
1 parent ce6232f commit fb617e5
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions packages/react/src/components/Dropdown/Dropdown.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ Playground.argTypes = {
},
defaultValue: false,
},
invalidText: {
control: {
type: 'text',
},
defaultValue: 'invalid selection',
},
disabled: {
control: {
type: 'boolean',
Expand All @@ -101,23 +107,35 @@ Playground.argTypes = {
},
defaultValue: false,
},
light: {
helperText: {
control: {
type: 'boolean',
type: 'text',
},
defaultValue: false,
},
helperText: {
label: {
control: {
type: 'text',
},
defaultValue: 'this is an example label',
},
warn: {
control: {
type: 'boolean',
},
defaultValue: false,
},
warnText: {
control: {
type: 'text',
},
defaultValue: 'please notice the warning',
},
titleText: {
control: {
type: 'text',
},
defaultValue: 'this is an example title',
},
size: {
options: ['sm', 'md', 'lg'],
control: { type: 'select' },
Expand Down

0 comments on commit fb617e5

Please sign in to comment.