@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.
25 lines (18 loc) • 537 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";
declare module "@kiwicom/orbit-components/lib/LazyImage";
interface Image {
"*"?: string;
jpg?: string;
webp?: string;
}
export interface Props {
readonly placeholder?: Image;
readonly original: Image;
readonly name: Common.Translation;
}
declare const LazyImage: React.FunctionComponent<Props>;
export { LazyImage, LazyImage as default };