SVG loading icons component for React. - Demo
Thanks to SVG-Loaders
npm install --save react-preloader-icon
yarn add react-preloader-icon
import { Preloader, Oval } from 'react-preloader-icon';
const SomeComponent = () => (
<Preloader
use={Oval}
size={32}
strokeWidth={8}
strokeColor="#F0AD4E"
duration={800}
/>
);
Support for Internet Explorer 9 requires raf polyfill.
- Latest Firefox
- Latest Chrome
- Latest Safari
- IE9 through latest
MIT