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.

24 lines (18 loc) 780 B
// @flow import * as React from "react"; import type { StyledComponent } from "styled-components"; import type { Globals } from "../../../common/common.js.flow"; import typeof CardSectionHeaderType from "./CardSectionHeader/index.js.flow"; import typeof CardSectionContentType from "./CardSectionContent/index.js.flow"; export type Props = {| +children: React.Node, +expandable?: boolean, +initialExpanded?: boolean, +onClose?: () => void | Promise<any>, +onExpand?: () => void | Promise<any>, ...Globals, |}; declare export var StyledCardSection: StyledComponent<any, any, HTMLElement>; declare export default React.ComponentType<Props>; declare export var CardSectionHeader: CardSectionHeaderType; declare export var CardSectionContent: CardSectionContentType;