//@flow import React from "react"; import { LabelWithHelpIcon } from "../index"; export type SelectItem = { value: string, label: string }; type Props = { label?: string, placeholder?: SelectItem[], value?: string, onChange: string => void, helpText?: string }; class Textarea extends React.Component { field: ?HTMLTextAreaElement; handleInput = (event: SyntheticInputEvent) => { this.props.onChange(event.target.value); }; render() { const { placeholder, value, label, helpText } = this.props; return (