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.

26 lines 747 B
import type * as React from "react"; import type * as Common from "../common/types"; export type Type = "buttonLoader" | "boxLoader" | "searchLoader" | "pageLoader" | "inlineLoader"; export type LoadingLabelProps = { text: Common.Translation; title?: never; ariaHidden?: never; } | { text?: never; title?: never; ariaHidden: true; } | { text?: never; title: string; ariaHidden?: false; }; interface BaseProps extends Common.Globals { readonly children?: React.ReactNode; readonly loading?: boolean; readonly type?: Type; readonly customSize?: number; readonly asComponent?: Common.Component; } export type Props = BaseProps & LoadingLabelProps; export {}; //# sourceMappingURL=types.d.ts.map