Skip to content

Commit

Permalink
adding input with error example
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAugustoRamalhoDuarte committed Sep 24, 2024
1 parent b82730f commit cbde741
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/TextField/TextField.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ export const WithIconLeft: Story = {
},
};

export const WithError: Story = {
args: {
label: "Label",
placeholder: "Hello World",
name: "name",
disabled: false,
error: true,
errorMsg: "Mensagem de error",
className: "w-94",
},
};

export const WithTwoIcons: Story = {
args: {
label: "Label",
Expand Down

0 comments on commit cbde741

Please sign in to comment.