/// import { TextareaProps } from '@chakra-ui/react'; /** * Extended TextArea properties */ export interface ITextArea extends Omit { /** * Automatically adjusts the height of the textarea element to fit the content inside. * When enabled, the textarea will grow/shrink based on the amount of text input. * @default false */ autoSize?: boolean; /** * The value of the textarea. This prop controls the content of the textarea. * When provided, the component acts as a controlled component. * If left undefined, the component acts as an uncontrolled component. */ value?: string; /** * Event handler called when the value of the textarea changes. * Passes the new value via the event object. * @param e - The change event */ onChange?: (e: React.ChangeEvent) => void; }