// @flow /* DOCUMENTATION: https://orbit.kiwi/components/card/ */ import type { spaceAfter } from "../common/getSpacingToken/index"; import type { Globals } from "../common/common.js.flow"; import typeof CardSectionType from "./CardSection/index.js.flow"; import typeof CardSectionHeaderType from "./CardSection/CardSectionHeader/index.js.flow"; import typeof CardSectionContentType from "./CardSection/CardSectionContent/index.js.flow"; import typeof CardHeaderType from "./CardHeader/index.js.flow"; export type Props = {| +children?: React$Node, +closable?: boolean, +onClose?: (ev: SyntheticEvent) => void | Promise, ...Globals, ...spaceAfter, |}; export type State = {| expandedSections: Array, initialExpandedSections: Array, |}; declare export default React$ComponentType; declare export var CardHeader: CardHeaderType; declare export var CardSection: CardSectionType; declare export var CardSectionHeader: CardSectionHeaderType; declare export var CardSectionContent: CardSectionContentType;