UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

19 lines (14 loc) 455 B
// @flow import * as React from "react"; import type { Translation } from "../../common/common.js.flow"; type Props = {| +child: React.Element<*>, +children: React.Element<*>, +onOnlySelection?: ( SyntheticEvent<HTMLButtonElement>, {| value: string, label: string |}, ) => void | Promise<any>, +onlySelectionText?: Translation, |}; export type FilterWrapperType = Props => React.Element<*>; declare export default FilterWrapperType;