🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

react-ios-switch

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-ios-switch

React switch component

0.1.19
latest
Source
npm
Version published
Weekly downloads
6K
-29.35%
Maintainers
1
Weekly downloads
 
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 12 Sep 2017

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