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 (19 loc) 668 B
// @flow /* DOCUMENTATION: https://orbit.kiwi/components/card/ */ import * as React from "react"; import type { spaceAfter } from "../common/getSpacingToken"; import type { Globals } from "../common/common.js.flow"; import typeof AccordionSectionType from "./AccordionSection"; export type Props = {| +children?: React.Node, +expandedSection?: string | number, +onExpand?: (sectionId: string | number) => void | Promise<any>, +loading?: boolean, ...Globals, ...spaceAfter, |}; declare export default React.ComponentType<Props>; declare export var AccordionSection: AccordionSectionType; declare export var StyledAccordion: React.ComponentType<Props>;