@grafana/ui
Version:
Grafana Components Library
12 lines (11 loc) • 482 B
TypeScript
import { HTMLProps } from 'react';
export interface Props extends Omit<HTMLProps<HTMLTextAreaElement>, 'size'> {
/** Show an invalid state around the input */
invalid?: boolean;
}
/**
* Use for multi line inputs like descriptions.
*
* https://developers.grafana.com/ui/latest/index.html?path=/docs/inputs-textarea--docs
*/
export declare const TextArea: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;