import { useCallback, useState } from 'react' import * as React from 'react' import { type Meta, type StoryFn } from '@storybook/react' import { TextArea } from './TextArea' import type { TextAreaProps } from './TextArea.types' const meta: Meta = { component: TextArea, } export default meta const Template: StoryFn = (args) => { const [value, setValue] = useState('12345') const handleChange = useCallback( (e: React.ChangeEvent) => { // eslint-disable-next-line no-console console.log(e) setValue(e.target.value) }, [] ) return (