Skip to content

Commit

Permalink
style(Textarea): add missing error border (#1853)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Barsnes and github-actions[bot] authored Apr 19, 2024
1 parent 2ec7d2c commit fc6c0c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const Preview: Story = {
size: 'medium',
description: '',
error: '',
hideLabel: false,
cols: 40,
},
};
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/components/form/Textarea/Textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(
classes.formField,
textareaProps.disabled && classes.disabled,
readOnly && classes.readonly,
hasError && classes.error,
className,
)}
>
Expand Down

0 comments on commit fc6c0c5

Please sign in to comment.