Skip to content

Commit

Permalink
fix(textarea): fix quality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoruiz committed Jul 18, 2023
1 parent 5d53983 commit 2fb5842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/textarea/src/Textarea.doc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Use the `FormField.HelperMessage` component to provide a description to the text

### Characters count

Use the `FormField.CharactersCount` component to display a the actual text count and the max length allowed.
Use the `FormField.CharactersCount` component to display the actual text count and the max length allowed.

<Canvas of={stories.FieldCharactersCount} />

Expand Down
2 changes: 1 addition & 1 deletion packages/components/textarea/src/Textarea.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const FieldCharactersCount: StoryFn = _args => {
const MAX_LENGTH = 90
const [value, setValue] = useState('')

const handleChange = event => {
const handleChange = (event: ChangeEvent<HTMLTextAreaElement>) => {
setValue(event.target.value)
}

Expand Down

0 comments on commit 2fb5842

Please sign in to comment.