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.

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