// @flow /* DOCUMENTATION: https://orbit.kiwi/components/inputgroup/ */ import type { Globals, Translation } from "../common/common.js.flow"; import type { spaceAfter } from "../common/getSpacingToken/index"; export type Props = {| ...Globals, ...spaceAfter, +label?: Translation, +flex?: string | Array, +size?: "small" | "normal", +help?: React$Node, +children: React$Node, +error?: React$Node, +onChange?: ( ev: SyntheticInputEvent | SyntheticInputEvent, ) => void | Promise, +onFocus?: ( ev: SyntheticInputEvent | SyntheticInputEvent, ) => void | Promise, +onBlur?: ( ev: SyntheticInputEvent | SyntheticInputEvent, ) => void | Promise, |}; export type State = {| active: boolean, filled: boolean, |}; declare export default React$ComponentType;