UNPKG

@engie-group/fluid-design-system

Version:

The Fluid Design System is ENGIE’s open-source library to create, build and deliver ENGIE digital services in a more efficient way.

16 lines (15 loc) 559 B
import { Scale, Variant } from '../../variations'; export declare const SPINNER_VARIANTS: readonly ["normal", "inverse", "grey", "ai"]; export type SpinnerVariant = Extract<Variant | 'normal', (typeof SPINNER_VARIANTS)[number]>; export declare const SPINNER_SCALES: readonly ["2xs", "xs", "sm", "md", "lg"]; export type SpinnerScale = Extract<Scale, (typeof SPINNER_SCALES)[number]>; export type SpinnerProperties = { /** * Spinner color variant */ variant?: SpinnerVariant; /** * Spinner scale */ scale?: SpinnerScale; };