@lmeikle/simple-loading-spinner

Renders a simple react loading spinner

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Aug 17, 2018Aug 17, 2018Minified + gzip package size for @lmeikle/simple-loading-spinner in KB

Readme

simple-loading-spinner

Renders a simple react loading spinner using Webpack 4.
Based on: https://www.npmjs.com/package/react-webpack-component

Example:

import React, { Component } from 'react';
import { LoadingComponent } from '@lmeikle/simple-loading-component';

class HelloWorld extends Component {
  render() {
    return <LoadingComponent />;
  }
}
export default HelloWorld;

Commands

Building

Compile in mode production:

1. npm run build

To publish:

1. npm run prepublish
2. npm publish --access public

Running Locally (Watch changes in mode development)

1. npm run start

Testing (using Jest with Enyzme)

  1. npm run test

Structure

<pre>
|-- dist (Compiled)
|   `-- index.js
|-- src
|   |-- loading
|   `-- index.js
`-- webpack.config.js
</pre>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.