@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.
28 lines (20 loc) • 697 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import * as React from "react";
import * as Common from "../common/common";
import SeatLegend from "./components/SeatLegend";
type Size = "small" | "medium";
type Type = "default" | "legroom" | "unavailable";
interface Props extends Common.Global {
readonly type?: Type;
readonly size?: Size;
readonly title?: string;
readonly description?: string;
readonly onClick?: Common.Callback;
readonly selected?: boolean;
readonly label?: React.ReactNode;
readonly price?: React.ReactNode;
}
declare const Seat: React.FunctionComponent<Props>;
export { SeatLegend };
export default Seat;