@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.
27 lines (22 loc) • 652 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/seat
*/
import * as React from "react";
import type { Globals } from "../common/common.js.flow";
import typeof SeatLegendComponent from "./components/SeatLegend";
export type Type = "default" | "legroom" | "unavailable";
export type Size = "small" | "medium";
export type Props = {|
+type?: Type,
+title?: string,
+onClick?: () => void | Promise<any>,
+description?: string,
+selected?: boolean,
+price?: React.Node,
+label?: React.Node,
+size?: Size,
...Globals,
|};
declare export var SeatLegend: SeatLegendComponent;
declare export default React.ComponentType<Props>;