// @flow import type { Globals } from "../common/common.js.flow"; import InputField from "../InputField"; import Select from "../Select"; export type Props = {| +label?: string, +flex?: string | Array, +size?: "small" | "normal", +help?: React$Node, +children: Array | React$Element>, +error?: React$Node, +onChange?: ( ev: SyntheticInputEvent | SyntheticInputEvent, ) => void | Promise, +onFocus?: ( ev: SyntheticInputEvent | SyntheticInputEvent, ) => void | Promise, +onBlur?: ( ev: SyntheticInputEvent | SyntheticInputEvent, ) => void | Promise, ...Globals, |}; export type State = {| active: boolean, filled: boolean, |}; declare export default React$ComponentType;