Skip to content

Commit

Permalink
chore(textarea): cleanup playground story (#12571)
Browse files Browse the repository at this point in the history
closes #12228

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: TJ Egan <tw15egan@gmail.com>
  • Loading branch information
3 people authored Nov 9, 2022
1 parent 7ac1fa0 commit 029e923
Showing 1 changed file with 26 additions and 15 deletions.
41 changes: 26 additions & 15 deletions packages/react/src/components/TextArea/TextArea.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ export default {
subcomponents: {
TextAreaSkeleton,
},
argTypes: {
light: {
table: {
disable: true,
},
},
},
};

export const Default = () => (
Expand Down Expand Up @@ -61,9 +68,7 @@ export const Playground = (args) => <TextArea {...args} id="text-area-1" />;

Playground.argTypes = {
className: {
control: {
type: 'text',
},
control: false,
},
cols: {
control: {
Expand All @@ -75,11 +80,6 @@ Playground.argTypes = {
type: 'text',
},
},
value: {
control: {
type: 'text',
},
},
disabled: {
control: {
type: 'boolean',
Expand All @@ -104,9 +104,7 @@ Playground.argTypes = {
defaultValue: false,
},
id: {
control: {
type: 'text',
},
control: false,
},
invalid: {
control: {
Expand All @@ -118,22 +116,35 @@ Playground.argTypes = {
control: {
type: 'text',
},
defaultValue: '',
},
labelText: {
control: {
type: 'text',
},
},
light: {
maxCount: {
control: {
type: 'boolean',
type: 'number',
},
defaultValue: false,
},
maxCount: {
placeholder: {
control: {
type: 'text',
},
defaultValue: '',
},
rows: {
control: {
type: 'number',
},
defaultValue: 4,
},
value: {
control: {
type: 'text',
},
defaultValue: '',
},
};

Expand Down

0 comments on commit 029e923

Please sign in to comment.