@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 (17 loc) • 740 B
Flow
// @flow
import type { ReactComponentStyled } 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: ReactComponentStyled<any>;
declare export default React$ComponentType<Props>;
declare export var CardSectionHeader: CardSectionHeaderType;
declare export var CardSectionContent: CardSectionContentType;