@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.
17 lines (13 loc) • 415 B
Flow
// @flow
import * as React from "react";
import type { Translation, Globals } from "../common/common.js.flow";
export type Props = {|
initialExpanded?: boolean,
expanded?: boolean,
label: Translation,
children: React.Node,
actions?: React.Node,
onClick?: (e: SyntheticEvent<HTMLDivElement>, state: boolean) => void | Promise<any>,
...Globals,
|};
declare export default React.ComponentType<Props>;