loading
support react 16
To build the examples locally, run:
npm install
npm run demo
Then open: localhost:3001
npm install rayloading --save
import DotLoader from 'rayloading/lin/DotLoader';
class Example extends Component {
render() {
return (
<Loader color="#FF5722" size="16px" margin="4px"></Loader>
);
}
}
const colors = {
success: '#00a854',
error: '#f04134',
warning: '#ffbf0b',
info: '#108ee9',
dotred: '#ff5b05',
orange: '#FF9800',
deepOrange: '#FF5722',
purple: '#9C27B0',
deepPurple: '#673AB7'
};
![]() |
![]() |
![]() |
![]() |
![]() |
|
---|---|---|---|---|---|
IE 10+ ✔ | Chrome 4.0+ ✔ | Firefox 16.0+ ✔ | Opera 15.0+ ✔ | Safari 4.0+ ✔ |
MIT