Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
jappwilson-react-load-mask
Advanced tools
A carefully crafted LoadMask for React
$ npm i react-load-mask --save
import 'react-load-mask/index.css'
import LoadMask from 'react-load-mask'
<LoadMask visible={true} />
<LoadMask visible={true} size={20} />
<LoadMask visible={false} size={120} />
visible
- defaults to false
. Set to true
if you want the LoadMask
to be visible.size
- defaults to 40
. The size of the loader inside the LoadMask
theme
- defaults to "default"
. See the theming section below.The base css class of the component is react-load-mask
.
For having the default theme, just import react-load-mask/index.css
.
Basically, that uses react-load-mask/base.css
(the functional styles) AND react-load-mask/theme/default.css
(the default theme styles).
If you want to use/build another theme, you can render the LoadMask
as:
<LoadMask theme="custom" visible />
The code above makes the LoadMask
component have the react-load-mask--theme-custom
className.
FAQs
React load mask
The npm package jappwilson-react-load-mask receives a total of 0 weekly downloads. As such, jappwilson-react-load-mask popularity was classified as not popular.
We found that jappwilson-react-load-mask 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.