// @flow
import type { TranslatedContent } from '../../../types';

export type TextAreaProps<ValueType> = {
  id?: string,
  placeholder?: ValueType,
  value?: ?ValueType,
  disabled?: boolean,
  focusOnMount?: boolean,
  label: TranslatedContent,
  hideLabel?: boolean,
  resize?: boolean,
  className?: string,
  height?: string,
  onChange: (ValueType, SyntheticInputEvent<HTMLInputElement>) => void,
  onFocus?: (SyntheticFocusEvent<HTMLInputElement>) => void,
  onBlur?: (SyntheticFocusEvent<HTMLInputElement>) => void,
};
