Interface ILoaderProps

Interface for loader component props.

interface ILoaderProps {
    block?: boolean;
    loaded: boolean;
    size?:
        | "large"
        | "normal"
        | "small"
        | "xsmall";
}

Properties

Properties

block?: boolean

Indicates if the loader should be wrapped with div.

loaded: boolean

Indicates if the data are loaded. If false the loader is rendered otherwise the children are rendered.

size?:
    | "large"
    | "normal"
    | "small"
    | "xsmall"

Size of the loader.