@uva-glass/component-library
Version:
React components UvA
10 lines (9 loc) • 404 B
TypeScript
export interface TextAreaProps {
/** Returns entered values as trimmed string */
onChange: (value: string) => void;
/** The label for the text area */
label?: string;
/** The max amount of allowed charecters in the text area */
maxCharacters?: number;
}
export declare function TextArea({ onChange, label, maxCharacters }: TextAreaProps): import("react/jsx-runtime").JSX.Element;