New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

happy-react-switch

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happy-react-switch

A simple switch component in React


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created

Happy React Switch npm

A simple switch component in React

Installation

yarn add happy-react-switch
# or
npm i happy-react-switch

Demo

Edit Happy react Toggle

Options

HappySwitch.propTypes = {
  on: PropTypes.bool.isRequired,
  disabled: PropTypes.bool,
  onClick: PropTypes.func.isRequired,
  small: PropTypes.bool,
};

Keywords

FAQs

Package last updated on 20 Jun 2019

Did you know?

Socket

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.

Install

Related posts