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.

25 lines (21 loc) 620 B
// @flow import * as React from "react"; import type { Globals } from "../../common/common.js.flow"; import type { As } from "../../Heading/index.js.flow"; export type Props = {| +title?: React.Node, +titleAs?: As, +description?: React.Node, +children?: React.Node, +expandable?: boolean, +initialExpanded?: boolean, +actions?: React.Node, +expanded?: boolean, +noSeparator?: boolean, +onClick?: () => void | Promise<any>, +onClose?: () => void | Promise<any>, +onExpand?: () => void | Promise<any>, +header?: React.Node, ...Globals, |}; declare export default React.ComponentType<Props>;