// @flow import type { ReactComponentStyled } from "styled-components"; import type { Globals } from "../common/common.js.flow"; type Type = "buttonLoader" | "boxLoader" | "searchLoader" | "pageLoader"; export type Props = {| +children?: React$Node, +loading?: boolean, +type?: Type, +text?: string, ...Globals, |}; declare export var StyledSpinner: ReactComponentStyled; declare export var StyledLoading: ReactComponentStyled; declare export default React$ComponentType;