export interface TextareaProps {
    /**
     * The placeholder text for the input
     */
    placeholder?: string;
    /**
     * The name of the input
     */
    isErrored?: boolean;
    /**
     * An optional string to explain the error
     */
    errorText?: string;
    /**
     * The name of the input
     */
    name: string;
    /**
     * The max length attribute
     */
    maxLength?: number;
    /**
     * Optional default value.
     * Don't set both defaultValue and value.
     */
    defaultValue?: string | number;
    /**
     * An optional function to be called on change
     */
    onChange?: React.ReactNode | ((e: any) => void);
    /**
     * The optional input id
     */
    id?: string;
    /**
     * The optional value for a controlled component.
     * Don't set both defaultValue and value.
     */
    value?: string | number;
    /**
     * Should the input be full width?
     */
    isFullWidth?: boolean;
}
