@blockstack/ui
Version:
Blockstack UI components built using React and styled-components with styled-system.
21 lines (20 loc) • 592 B
TypeScript
import { BoxProps } from '../box';
import { LiteralUnion } from 'type-fest';
export declare enum SpinnerSizes {
xs = "xs",
sm = "sm",
md = "md",
lg = "lg",
xl = "xl"
}
export declare type NamedSizeLiterals = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
export declare type SpinnerSize = LiteralUnion<NamedSizeLiterals, string>;
export interface SpinnerPropsBase {
size?: SpinnerSize;
emptyColor?: string;
color?: string;
thickness?: string;
speed?: string;
label?: string;
}
export declare type SpinnerProps = BoxProps & SpinnerPropsBase;