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.

23 lines (18 loc) 470 B
// @flow import type { Globals } from "../common/common.js.flow"; export type State = { expanded?: boolean, initialExpanded?: boolean, }; export type Props = {| +title?: string, +description?: React$Node, +icon?: React$Node, +children?: React$Node, +external?: boolean, +href?: string, +onClick?: (e: SyntheticEvent<HTMLDivElement>) => void | Promise<any>, expanded?: boolean, ...Globals, |}; declare export default React$ComponentType<Props>;