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.

29 lines (22 loc) 541 B
// @flow import * as React from "react"; import type { StyledComponent } from "styled-components"; type ImageObject = {| "*"?: string, jpg?: string, webp?: string, |}; export type Props = {| placeholder?: ImageObject, original: ImageObject, name: string, |}; export type PictureProps = {| pictures: ImageObject, name: string, loaded: boolean, onLoad?: () => void, lowRes?: boolean, |}; declare export default React.ComponentType<Props>; declare export var StyledLazyImage: StyledComponent<any, any, HTMLElement>;