UNPKG

731 BTypeScriptView Raw
1import { SerializedStyles } from '@emotion/react';
2export interface LengthObject {
3 value: number;
4 unit: string;
5}
6export interface CommonProps {
7 color?: string;
8 loading?: boolean;
9 css?: string | SerializedStyles;
10 speedMultiplier?: number;
11}
12export declare type LengthType = number | string;
13export interface LoaderHeightWidthProps extends CommonProps {
14 height?: LengthType;
15 width?: LengthType;
16}
17export interface LoaderSizeProps extends CommonProps {
18 size?: LengthType;
19}
20export interface LoaderSizeMarginProps extends LoaderSizeProps {
21 margin?: LengthType;
22}
23export interface LoaderHeightWidthRadiusProps extends LoaderHeightWidthProps {
24 margin?: LengthType;
25 radius?: LengthType;
26}