mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
27 lines
704 B
TypeScript
27 lines
704 B
TypeScript
|
import { SerializedStyles } from "@emotion/core";
|
||
|
export interface LengthObject {
|
||
|
value: number;
|
||
|
unit: string;
|
||
|
}
|
||
|
interface CommonProps {
|
||
|
color?: string;
|
||
|
loading?: boolean;
|
||
|
css?: string | SerializedStyles;
|
||
|
}
|
||
|
export declare type LengthType = number | string;
|
||
|
export interface LoaderHeightWidthProps extends CommonProps {
|
||
|
height?: LengthType;
|
||
|
width?: LengthType;
|
||
|
}
|
||
|
export interface LoaderSizeProps extends CommonProps {
|
||
|
size?: LengthType;
|
||
|
}
|
||
|
export interface LoaderSizeMarginProps extends LoaderSizeProps {
|
||
|
margin?: LengthType;
|
||
|
}
|
||
|
export interface LoaderHeightWidthRadiusProps extends LoaderHeightWidthProps {
|
||
|
margin?: LengthType;
|
||
|
radius?: LengthType;
|
||
|
}
|
||
|
export {};
|