npm i react-loadify
# or
# yarn add react-loadify
import { DSpinner } from "react-loadify";
import "react-loadify/dist/react-loadify.min.css";
<DSpinner size={100} color="red" borderWidth={10} speed={1000} />
- color (string, optional): Specifies the color of the spinner. Default value is '#fff'.
- size (number, optional): Specifies the size of the spinner in pixels. Default value is 48.
- speed (number, optional): Specifies the speed of the spinner animation in milliseconds. Default value is 1500.
- borderWidth (number, optional): Specifies the width of the spinner's border in pixels. Default value is 5.
<DDot size={100} color="red" speed={1000} />
- color (string, optional): Specifies the color of the spinner. Default value is '#fff'.
- size (number, optional): Specifies the size of the spinner in pixels. Default value is 48.
- speed (number, optional): Specifies the speed of the spinner animation in milliseconds. Default value is 1500.
<DBar size={100} color="red" speed={1000} />
- color (string, optional): Specifies the color of the spinner. Default value is '#fff'.
- size (number, optional): Specifies the size of the spinner in pixels. Default value is 48.
- speed (number, optional): Specifies the speed of the spinner animation in milliseconds. Default value is 1500.