@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.
16 lines (12 loc) • 366 B
Flow
// @flow
import * as React from "react";
import type { Globals } from "../common/common.js.flow";
export type Props = {|
+onMenuOpen?: () => void | Promise<any>,
+onShow?: () => void | Promise<any>,
+onHide?: () => void | Promise<any>,
+hideOnScroll?: boolean,
+children: React.Node,
...Globals,
|};
declare export default React.ComponentType<Props>;