import { ComponentType, Ref } from "react"; import TextareaAutosize from "react-autosize-textarea"; declare namespace PlainText { interface Props extends Omit { /** * The component forwards the `ref` property to the `TextareaAutosize` component. */ ref?: Ref | undefined; /** * String value of the textarea */ value: string; /** * Called when the value changes. */ onChange(value: string): void; } } declare const PlainText: ComponentType; export default PlainText;