UNPKG

@kiwicom/orbit-components

Version:

<div align="center"> <a href="https://orbit.kiwi" target="_blank"> <img alt="orbit-components" src="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components.png" srcset="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components@2x.png 2x"

22 lines (15 loc) 472 B
// @flow import type { Globals } from "../common/common.js.flow"; type Carrier = { code: string, name: string, type?: "airline" | "bus" | "train" }; type Size = "small" | "medium" | "large"; export type Props = {| +size?: Size, +carriers: Carrier[], ...Globals, |}; type styledCarrierLogo = { size: Size, carriers: Carrier, }; declare export var StyledCarrierLogo: React$ComponentType<styledCarrierLogo>; declare export default React$ComponentType<Props>;