UNPKG

@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.

104 lines (99 loc) 2.13 kB
/* DOCUMENTATION: https://orbit.kiwi/components/illustration/ */ import type React from "react"; import type * as Common from "../common/types"; export type Name = | "AppKiwi" | "Accommodation" | "AirHelp" | "AirportShuttle" | "AirportTransport" | "AirportTransportTaxi" | "AppQRCode" | "BaggageDrop" | "Boarding" | "BoardingPass" | "BusinessTravel" | "CabinBaggage" | "Chatbot" | "Cancelled" | "CompassCollectPoints" | "CompassDemoted" | "CompassEmailAdventurer" | "CompassEmailCaptain" | "CompassEmailPromoted" | "CompassEmailPromotedCaptain" | "CompassEmailScout" | "CompassPoints" | "CompassSaveOnBooking" | "CompassTravelPlan" | "DesktopSearch" | "EnjoyApp" | "Error" | "Error404" | "EVisa" | "FastBooking" | "FastTrack" | "FastTrackMan" | "FareLock" | "FareLockSuccess" | "Feedback" | "GroundTransport404" | "Help" | "Improve" | "Insurance" | "InviteAFriend" | "Login" | "Lounge" | "Mailbox" | "Meal" | "MobileApp" | "MobileApp2" | "Money" | "MusicalInstruments" | "NetVerify" | "NoBookings" | "NoFavoriteFlights" | "Nomad" | "NomadNeutral" | "NoNotification" | "NoResults" | "Offline" | "OnlineCheckIn" | "OpenSearch" | "Parking" | "Pets" | "PlaceholderAirport" | "PlaceholderDestination" | "PlaceholderHotel" | "PlaceholderTours" | "PlaneAndMoney" | "PlaneDelayed" | "PriorityBoarding" | "Rating" | "ReferAFriend" | "RentalCar" | "Seating" | "SpecialAssistance" | "SportsEquipment" | "Success" | "TicketFlexi" | "Time" | "TimelineBoarding" | "TimelineDropBaggage" | "TimelineLeave" | "TimelinePick" | "Tours" | "Train" | "TransportBus" | "TransportTaxi" | "WomanWithPhone"; // TODO: remove spaceAfter in the next major version /** SpaceAfter is deprecated, use margin instead */ export interface Props extends Common.Globals, Common.SpaceAfter { readonly size?: "extraSmall" | "small" | "medium" | "large" | "display"; readonly name: Name; readonly margin?: React.CSSProperties["margin"] | Common.ObjectProperty; readonly alt?: string; }