@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.
21 lines (16 loc) • 471 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/loading/
*/
import * as React from "react";
import type { Globals, Translation } from "../common/common.js.flow";
type Type = "buttonLoader" | "boxLoader" | "searchLoader" | "pageLoader" | "inlineLoader";
export type Props = {|
+children?: React.Node,
+loading?: boolean,
+type?: Type,
+customSize?: number,
+text?: Translation,
...Globals,
|};
declare export default React.ComponentType<Props>;