New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

wp-toggle-button

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wp-toggle-button

Made with create-react-library

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

wp-toggle-button

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save wp-toggle-button

Usage

import React, { Component } from 'react'

import ToggleButton from 'wp-toggle-button'
import 'wp-toggle-button/dist/index.css'

class Example extends Component {
  render() {
    return (
      <ToggleButton
        options={[
          { label: 'one', value: "1" },
          { label: 'two', value: "2" }
        ]}
        onChange={(value) => console.log('value is ', value)}
      />
    )
}

License

MIT © tasnimAlam

FAQs

Package last updated on 24 Feb 2021

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