@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.
52 lines (46 loc) • 949 B
TypeScript
// @flow
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import * as React from "react";
import * as Common from "../common/common";
type Size = "small" | "medium" | "large";
type Name =
| "AirHelp"
| "Alipay"
| "Amex"
| "Axa"
| "AxaAssistance"
| "Booking"
| "BusinessInsider"
| "ChinaUnionPay"
| "DailyExpress"
| "DinersClub"
| "Discover"
| "IATA"
| "JCB"
| "MailOnline"
| "Maestro"
| "MaestroShort"
| "MasterCard"
| "MasterCardShort"
| "MIR"
| "Mirror"
| "NewYorkTimes"
| "NortonSecured"
| "PayPal"
| "RentalCars"
| "Sofort"
| "TravelPulse"
| "Trustly"
| "UsaToday"
| "Visa"
| "VisaHQ"
| "Zooz"
| "Elo";
interface Props extends Common.Global {
readonly name: Name;
readonly size?: Size;
readonly grayScale?: boolean;
}
declare const ServiceLogo: React.FunctionComponent<Props>;
export { ServiceLogo, ServiceLogo as default };