Skip to main content

Spinner

Simple spinner for loading indication

Example

import React, {FC} from "react";
import {ISizeSpinner, Spinner} from "@lad-tech/mobydick-core";

export const MySpinner: FC = () => {
return <Spinner size={ISizeSpinner.L} duration={1000} />
}

export const MyBlackSpinner: FC = () => {
return <Spinner fill={'#000000'}/>
}

export const DefaultSpinner: FC = () => {
return <Spinner />
}

Props

Svg Props

Inherits Svg Props.

size

Size of spinner

TYPEDEFAULT
ISizeSpinnerISizeSpinner.S

duration

Duration of one spin in milliseconds

TYPEDEFAULT
number2500