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.
react-bootstrap-button-loader
Advanced tools
Bootstrap Button with Spinner feature
Demo and playground are available here
import Button from 'react-bootstrap-button-loader';
<Button loading={this.state.loading}>Press me!</Button>
Note: All props are optional.
Bootstrap style, supported values: default
, primary
, success
, info
, warning
, danger
, link
.
Deprecated in a favor of variant
Set this prop true
to disable button.
Note: button in loading state is disabled and this behavior is not overridable even if false
value is explicitly provided.
This prop controls Button loading state.
While loading, Button is disabled and icon provided via props is replaced with Spinner.
Buttons with icons are better!
Provided icon is shown if Button is not in a loading state. Otherwise Spinner is rendered.
Controls spinAlignment, supported values: 'left' and 'right'
Spinner color for loading state.
While white color used by default works fine for most cases, for different bootstrap themes and bsStyles it might be better to use other colors instead.
Bootstrap style, supported values: primary
, ``secondary,
success,
info,
warning,
danger,
link,
light,
dark`.
MIT (c) Yury Dymov
FAQs
React ButtonLoader with Bootstrap flavor
We found that react-bootstrap-button-loader 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.