baseui
Version:
A React Component library implementing the Base design language
12 lines (11 loc) • 446 B
TypeScript
import type { SIZE } from './constants';
import type { Sizing } from '../themes/types';
export type Size = keyof typeof SIZE;
export type SpinnerProps = {
/** Color of progress indicator */
$color?: string;
/** Width of the progress indicator "stroke". */
$borderWidth?: number | string | keyof Sizing | Size;
/** Height/width of the box the indicator will appear in. */
$size?: number | string | keyof Sizing | Size;
};