Interface LoaderProps

interface LoaderProps {
    className?: string;
    color?: string;
    show?: null | boolean;
    size?: string | number;
    speed?: number;
}

Properties

className?: string
color?: string

Color of the spinner, defaults to currentColor

show?: null | boolean

Whether to show the spinner or not

size?: string | number

Size of the spinner, can be unitless, defaults to 2rem

speed?: number

Time in ms for a full spin