Skip to content

Commit

Permalink
docs(TextInput): expose defaultValue prop as Storybook knob (carbo…
Browse files Browse the repository at this point in the history
…n-design-system#1808)

* chore: update offline package mirrors

* docs(TextInput): expose `defaultValue` prop as Storybook knob
  • Loading branch information
emyarod committed Jan 31, 2019
1 parent c48f34c commit 959c1d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Binary file removed .yarn-offline-mirror/carbon-components-9.64.3.tgz
Binary file not shown.
Binary file removed .yarn-offline-mirror/carbon-components-9.68.2.tgz
Binary file not shown.
4 changes: 4 additions & 0 deletions src/components/TextInput/TextInput-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ const types = {
const TextInputProps = () => ({
className: 'some-class',
id: 'test2',
defaultValue: text(
'Default value (defaultValue)',
'This is not a default value'
),
labelText: text('Label text (labelText)', 'Text Input label'),
type: select('Form control type (type)', types, ''),
placeholder: text('Placeholder text (placeholder)', 'Placeholder text'),
Expand Down

0 comments on commit 959c1d1

Please sign in to comment.