@zandor300/react-spinner-material
v1.5.34
Published
A flashy material-design inspired spinner using purely css
Maintainers
Readme
@zandor300/react-spinner-material
A simple react spinner following Material UI's using only css.

Installation
# Using npm
npm install --save @zandor300/react-spinner-material
# Using yarn
yarn add @zandor300/react-spinner-materialPropTypes
|Name|Type|Default|Description| |-----|-----|-----|-----| |radius |Number |40 |The radius of the spinner | |color |String |#333333 |The color of the spinner | |stroke |Number |5 |The spinner's stroke width | |visible|Boolean |true |Whether to show the spinner or not|
Usage
Example:
import Spinner from "@zandor300/react-spinner-material";
import React, { Component } from "react";
function Loading() {
return (
<div>
<Spinner radius={120} color={"#333"} stroke={2} visible={true} />
</div>
);
}