UNPKG

@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) 504 B
// @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<any>; declare export var StyledLoading: ReactComponentStyled<any>; declare export default React$ComponentType<Props>;