// @flow /* DOCUMENTATION: https://orbit.kiwi/components/loading/ */ import * as React from "react"; import type { StyledComponent } 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, +customSize?: number, +text?: Translation, ...Globals, |}; declare export var StyledSpinner: StyledComponent; declare export var StyledLoading: StyledComponent; declare export default React.ComponentType;