react-preloader-icon
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

React Preloader Icon

SVG loading icons component for React. - Demo

Thanks to SVG-Loaders

Installation

npm

npm install --save react-preloader-icon
yarn add react-preloader-icon

Usage

import { Preloader, Oval } from 'react-preloader-icon';
 
const SomeComponent = () => (
  <Preloader
    use={Oval}
    size={32}
    strokeWidth={8}
    strokeColor="#F0AD4E"
    duration={800}
  /> 
);

Icon types

Supported browsers

Support for Internet Explorer 9 requires raf polyfill.

  • Latest Firefox
  • Latest Chrome
  • Latest Safari
  • IE9 through latest

License

MIT

Package Sidebar

Install

npm i react-preloader-icon

Weekly Downloads

164

Version

1.0.0

License

MIT

Unpacked Size

220 kB

Total Files

51

Last publish

Collaborators

  • uyeong