@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.
22 lines (17 loc) • 540 B
Flow
// @flow
import * as React from "react";
import type { Spacing } from "../Stack";
import type { Globals } from "../common/common.js.flow";
export type ScrollSnap = "mandatory" | "proximity" | "inline" | "none";
export type Props = {|
...Globals,
+minHeight?: number,
+spacing?: Spacing,
+children: React.Node,
+scrollSnap?: ScrollSnap,
+scrollPadding?: number,
+overflowElevation?: boolean,
+onOverflow?: () => void,
+elevationColor?: string,
|};
declare export default React.AbstractComponent<Props, HTMLDivElement>;