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.

10 lines (9 loc) 588 B
import * as React from "react"; interface Props { readonly child: React.ReactElement<any, string | React.JSXElementConstructor<any>>; readonly children: React.ReactElement<any, string | React.JSXElementConstructor<any>>; readonly onlySelectionText: React.ReactNode; readonly onOnlySelection?: (ev: React.SyntheticEvent<HTMLButtonElement | HTMLAnchorElement>, obj: Record<"label" | "value", string>) => void | Promise<void>; } declare const FilterWrapper: ({ child, children, onOnlySelection, onlySelectionText }: Props) => React.JSX.Element; export default FilterWrapper;