// @flow /* DOCUMENTATION: https://orbit.kiwi/components/card/ */ import * as React from "react"; import type { StyledComponent } from "styled-components"; import type { spaceAfter } from "../common/getSpacingToken"; import type { Globals } from "../common/common.js.flow"; import typeof CardSectionType from "./CardSection"; import type { As } from "../Heading"; export type Props = {| +children?: React.Node, +title?: React.Node, +titleAs?: As, +description?: React.Node, +icon?: React.Node, +actions?: React.Node, +onClose?: () => void | Promise, +loading?: boolean, +header?: React.Node, +dataA11ySection?: string, ...Globals, ...spaceAfter, |}; declare export default React.ComponentType; declare export var CardSection: CardSectionType; declare export var StyledCard: StyledComponent;