// 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;
