import { useState } from 'react'; import { userEvent, within } from 'storybook/test'; import { Meta, StoryObj } from '@storybook/react-webpack5'; import { useRtlDiffI18n, withRTLDiff } from '../../../../.storybook/decorators/RtlDiffDecorator'; import Field from '../../../Field'; import { Sentiment } from '../../../common'; import { TextArea } from '../TextArea'; const meta: Meta = { title: 'Forms/TextArea/Tests', component: TextArea, tags: ['!autodocs', '!manifest'], }; export default meta; type Story = StoryObj; export const AsciiCharacters: Story = { name: 'counter at limit with ASCII input', render: () => { const [value, setValue] = useState(''); return (