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

react-toggle-ios

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-toggle-ios

React switch component

latest
Source
npmnpm
Version
0.1.22
Version published
Maintainers
1
Created
Source

react-ios-switch

Demo

CodePen

Features

  • Drag or click to toggle
  • Works with labels

Usage

import Switch from 'react-ios-switch';

// Simple usage
<Switch
  checked={checked}
  onChange={checked => {}}
/>

// All props (defaults shown)
<Switch
  checked={undefined}
  className={undefined}
  disabled={undefined}
  handleColor="white"
  name={undefined}
  offColor="white"
  onChange={() => {}}
  onColor="rgb(76, 217, 100)"
  pendingOffColor={undefined}
  pendingOnColor={undefined}
  readOnly={undefined}
  style={undefined}
/>

Development

# Install packages
yarn

# Start server
yarn start

# Visit http://localhost:8080

Inspirations

Keywords

react

FAQs

Package last updated on 23 Apr 2020

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