@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.
14 lines (10 loc) • 361 B
Flow
// @flow
import * as React from "react";
export type ContextType = {|
+expandable: boolean,
+expanded: boolean,
+handleToggleSection: () => void,
+onKeyDownHandler: (ev: SyntheticKeyboardEvent<HTMLDivElement>) => void | Promise<any>,
|};
export type CardSectionContextType = React.Context<ContextType>;
declare export default CardSectionContextType;