@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.
23 lines (17 loc) • 601 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/loading/
*/
import type { ReactComponentStyled } from "styled-components";
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,
+text?: Translation,
...Globals,
|};
declare export var StyledSpinner: ReactComponentStyled<any>;
declare export var StyledLoading: ReactComponentStyled<any>;
declare export default React$ComponentType<Props>;