Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-pure-loaders
Advanced tools
React PureComponent loading animations
Install with yarn
:
yarn add react-pure-loaders
Install with npm
:
npm install react-pure-loaders --save
Each loader has their own default properties. You can overwrite the defaults by passing props into the loaders.
Each loader accepts a loading
prop as a boolean. The loader will not render anything if loading
is false
.
import React from 'react';
import { BallBeat } from 'react-pure-loaders';
class AwesomeComponent extends React.Component {
constructor(props) {
super(props);
this.state = {
loading: true
}
}
render() {
return (
<div>
<BallBeat
color={'#123abc'}
loading={this.state.loading}
/>
</div>
)
}
}
Common default props for all loaders:
loading: true
color: '#000000'
Loader | size:int | height:int | width:int | radius:int | margin:str |
---|---|---|---|---|---|
BallBeat | |||||
BallClipRotate | |||||
BallClipRotateMultiple | |||||
BallClipRotatePulse | |||||
BallGridBeat | |||||
BallGridPulse | |||||
BallPulse | |||||
BallPulseRise | |||||
BallPulseRound | |||||
BallPulseSync | |||||
BallRotate | |||||
BallScale | |||||
BallScaleMultiple | |||||
BallScaleRandom | |||||
BallScaleRipple | |||||
BallScaleRippleMultiple | |||||
BallSpinFadeLoader | |||||
BallSpinLoader | |||||
BallTrianglePath | |||||
BallZigZag | |||||
BallZigZagDeflect | |||||
LineScale | |||||
LineScaleParty | |||||
LineScalePulseOut | |||||
LineScalePulseOutRapid | |||||
LineScaleRandom | |||||
LineSpinFadeLoader | |||||
CubeTransition | |||||
Pacman | |||||
SemiCircleSpin | |||||
SquareSpin | |||||
TriangleSkewSpin |
Thanks goes to these wonderful people (emoji key):
James W. Lane III 💻 📖 ⚠️ | Willane Paiva 📖 | Larissa Moura 💻 ⚠️🔧🔌 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
React PureComponent loading animations
We found that react-pure-loaders demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.