Skip to content

Commit

Permalink
Adding options to test
Browse files Browse the repository at this point in the history
  • Loading branch information
OsamaAbdellateef committed Aug 1, 2023
1 parent e1dc6ab commit dc9dd2e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/components/src/Input/Input.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ const meta = {
'time',
'url',
'week',
'file',
'color',
],
defaultValue: 'text',
},
Expand Down Expand Up @@ -62,14 +64,6 @@ export const Basic: Story = {
render: args => <Input placeholder="Placeholder..." {...args} />,
};

export const FileInput: Story = {
render: args => <Input placeholder="Placeholder..." {...args} type="file" />,
};

export const ColorPicker: Story = {
render: args => <Input placeholder="Placeholder..." {...args} type="color" />,
};

export const WithLeadingIcons: Story = {
render: args => (
<Input placeholder="Placeholder..." icon={<Search />} {...args} />
Expand Down

0 comments on commit dc9dd2e

Please sign in to comment.