Socket
Socket
Sign inDemoInstall

react-loading-spin

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-loading-spin - npm Package Compare versions

Comparing version 0.3.4 to 1.0.0

2

package.json
{
"name": "react-loading-spin",
"version": "0.3.4",
"version": "1.0.0",
"description": "A simple spinning loading animation react component.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -8,3 +8,3 @@ # react-loading-spin

### Installing
## Install
```

@@ -14,3 +14,3 @@ npm i --save react-loading-spin

## Usage
## Import
```

@@ -21,13 +21,27 @@ ...

...
render() {
return (
<div>
<LoadingSpin/>
</div>
);
}
...
```
# Use
```
const ExampleOfUsingLoadingSpinWithProps = () => {
return (
<div className="App">
<p>Patience you must have my Young Padawan</p>
<LoadingSpin
duration='2s'
width='15px'
timingFunction='ease-in-out'
direction='alternate'
size='300px'
primaryColor='yellow'
secondaryColor='#333'
/>
</div>
);
};
```
## Manage Properties
**size** | **primaryColor** | **secondaryColor** | **width** | **duration** | **timingFunction** | **direction**
### Built With

@@ -34,0 +48,0 @@ * [Pleasure](https://en.wikipedia.org/wiki/Pleasure)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc