Skip to content

Commit

Permalink
Rephrase prop description
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed May 17, 2024
1 parent ba07c4d commit 375460e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion storybook/src/components/Button/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const meta = {
table: { disable: false },
},
disabled: {
description: 'Prevents interaction. Use sparingly.',
description: 'Prevents interaction. Avoid if possible.',
},
},
} satisfies Meta<typeof Button>
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/components/Checkbox/Checkbox.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const meta = {
table: { disable: false },
},
disabled: {
description: 'Prevents interaction. Use sparingly.',
description: 'Prevents interaction. Avoid if possible.',
},
onChange: {
action: 'clicked',
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/components/DateInput/DateInput.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const meta = {
},
argTypes: {
disabled: {
description: 'Prevents interaction. Use sparingly.',
description: 'Prevents interaction. Avoid if possible.',
},
},
} satisfies Meta<StoryProps>
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/components/IconButton/IconButton.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const meta = {
},
argTypes: {
disabled: {
description: 'Prevents interaction. Use sparingly.',
description: 'Prevents interaction. Avoid if possible.',
},
onBackground: {
control: {
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/components/Radio/Radio.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const meta = {
table: { disable: false },
},
disabled: {
description: 'Prevents interaction. Use sparingly.',
description: 'Prevents interaction. Avoid if possible.',
},
invalid: {
description: 'Whether the value fails a validation rule.',
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/components/Select/Select.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const meta = {
},
argTypes: {
disabled: {
description: 'Prevents interaction. Use sparingly.',
description: 'Prevents interaction. Avoid if possible.',
},
invalid: {
description: 'Whether the value fails a validation rule.',
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/components/Switch/Switch.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const meta = {
description: 'Whether the control is initially checked.',
},
disabled: {
description: 'Prevents interaction. Use sparingly.',
description: 'Prevents interaction. Avoid if possible.',
},
onChange: {
action: 'clicked',
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/components/TextArea/TextArea.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const meta = {
},
argTypes: {
disabled: {
description: 'Prevents interaction. Use sparingly.',
description: 'Prevents interaction. Avoid if possible.',
},
resize: {
control: {
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/components/TextInput/TextInput.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const meta = {
},
argTypes: {
disabled: {
description: 'Prevents interaction. Use sparingly.',
description: 'Prevents interaction. Avoid if possible.',
},
invalid: {
description: 'Whether the value fails a validation rule.',
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/components/TimeInput/TimeInput.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const meta = {
},
argTypes: {
disabled: {
description: 'Prevents interaction. Use sparingly.',
description: 'Prevents interaction. Avoid if possible.',
},
},
} satisfies Meta<typeof TimeInput>
Expand Down

0 comments on commit 375460e

Please sign in to comment.