Axinom Mosaic Libraries
    Preparing search index...

    Interface LoaderProps

    interface LoaderProps {
        backgroundColor?: string;
        foregroundColor?: string;
        height?: string | number;
        loadingSkeleton?: ReactNode;
        showLoader: boolean;
        speed?: number;
        viewBox?: string;
        width?: string | number;
    }
    Index

    Properties

    backgroundColor?: string

    Loader's primary color (default: '#CCCCCC')

    foregroundColor?: string

    Loader's secondary color (default: '#EEECEC')

    height?: string | number

    Loader's height (default: 100)

    loadingSkeleton?: ReactNode

    SVGRectElement used as the loading animation. If set, will replace the default SVGRectElement

    showLoader: boolean

    Whether to show or hide the loader animation

    speed?: number

    Animation speed (default: 2)

    viewBox?: string

    SVG's viewbox (default: '0 0 100 5'), adjust this change the skeleton's rendering

    width?: string | number

    Loader's width (default: 5)