@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.
20 lines (14 loc) • 566 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import * as React from "react";
import * as Common from "../common/common";
type Type = "buttonLoader" | "boxLoader" | "searchLoader" | "pageLoader" | "inlineLoader";
interface Props extends Common.Global {
readonly children?: React.ReactNode;
readonly loading?: boolean;
readonly type?: Type;
readonly customSize?: number;
readonly text?: Common.Translation;
}
declare const Loading: React.FunctionComponent<Props>;
export { Loading, Loading as default };