Danilo Woznica f0b7f5bed8 Update package
2017-01-24 17:23:03 -02:00
2017-01-20 13:30:04 -02:00
2017-01-24 14:33:05 -02:00
2017-01-20 13:30:04 -02:00
2017-01-20 13:30:04 -02:00
2017-01-20 13:30:04 -02:00
2017-01-20 13:30:04 -02:00
2017-01-20 13:30:04 -02:00
2017-01-20 13:30:04 -02:00
2017-01-20 13:30:04 -02:00
2017-01-24 17:23:03 -02:00
2017-01-24 14:27:49 -02:00

React Content Loader

This project is a collection the loader based on styles cards on Facebook.

Usage:

First install the dependency:

npm i react-content-loader --save-dev

After import and use:

// import the component
import ContentLoader from 'react-content-loader'

const MyPage = () => (<ContentLoader />);

Options

Name Type Default Description
style Object
type String facebook Options: facebook, instagram
speed Number 2 Animation speed
primaryColor String #f3f3f3 Background the SVG
secondaryColor String #ecebeb Animation color

Facebook Style

Facebook Style

Instagram Style

Instagram Style

Todo

  • Code component;
  • List component;
  • Test in multiples browser;
  • A more useful new project;

Credits

Boilerplate for creating React Npm packages with ES2015

License

MIT

Description
No description provided
Readme MIT 4.7 MiB
Languages
TypeScript 89.2%
JavaScript 10.8%