@schibstedspain/sui-spinner
v1.1.2
Published
Downloads
6
Readme
sui-spinner
Description
A loader component that spins!
<Spinner /> /* defaultProps = { size: 32, thickness: 1, color: '#fff' } */
<Spinner size={48} thickness={6} color={red} />
Instalation
Clone this repository and run:
$ npm install
Start working in development mode:
$ npm run dev
This command will build your .sass
, .jsx
and .js
files and open a local development environment, with hot reloading. A browser window will be opened as well, showing the entry point of your documents folder for development purposes.
To work in TDD mode:
$ npm run test:watch
To run unit tests only once:
$ npm test
To publish yours docs page:
$ npm run doc
That will publish in a gh-page for docs
folder.
What is a component without a public demo, isn´t ?!
Usage
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non perspiciatis, quod eum perferendis, facere enim hic. Quibusdam deleniti, distinctio. Molestias error quibusdam quo similique, laborum iste libero dolorum saepe et.