Skip to content

Commit

Permalink
chore(@clayui/form): add regular size to input storybook and make it …
Browse files Browse the repository at this point in the history
…the default value
  • Loading branch information
pat270 committed Apr 9, 2024
1 parent a198771 commit df615c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/clay-form/stories/Input.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default {
argTypes: {
sizing: {
control: {type: 'select'},
options: ['lg', 'sm'],
options: ['lg', 'regular', 'sm'],
},
},
title: 'Design System/Components/Input',
Expand All @@ -27,7 +27,7 @@ export const Default = (args: any) => (
id="basicInputText"
placeholder="Insert your name here"
readOnly={args.readOnly}
sizing={args.sizing}
sizing={args.sizing === 'regular' ? null : args.sizing}
type="text"
/>
</ClayForm.Group>
Expand All @@ -37,7 +37,7 @@ export const Default = (args: any) => (
Default.args = {
disabled: false,
readOnly: false,
sizing: undefined,
sizing: 'regular',
};

export const InputFeedback = () => (
Expand Down

0 comments on commit df615c4

Please sign in to comment.