import React, { HTMLProps } from 'react'; import { GrafanaTheme } from '@grafana/data'; import { css, cx } from 'emotion'; import { stylesFactory, useTheme } from '../../themes'; import { getFocusStyle, sharedInputStyle } from '../Forms/commonStyles'; export interface Props extends Omit, 'size'> { /** Show an invalid state around the input */ invalid?: boolean; } export const TextArea = React.forwardRef(({ invalid, className, ...props }, ref) => { const theme = useTheme(); const styles = getTextAreaStyle(theme, invalid); return