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 (20 loc) 627 B
// @flow import type { ReactComponentStyled } from "styled-components"; import type { Globals } from "../../common/common.js.flow"; export type Props = {| +title?: React$Node, +icon?: React$Node, +description?: React$Node, +children?: React$Node, +expandable?: boolean, +initialExpanded?: boolean, +actions?: React$Node, +expanded?: boolean, +noSeparator?: boolean, +onClose?: () => void | Promise<any>, +onExpand?: () => void | Promise<any>, +header?: React$Node, ...Globals, |}; declare export var StyledCardSection: ReactComponentStyled<any>; declare export default React$ComponentType<Props>;