Skip to content
A React UI Component to display an awesome Toggle Button control
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates May 27, 2019
config wip Mar 3, 2019
docs fix security alert Aug 13, 2019
src Resolved tslint conflict Jul 20, 2019
srcdocs rollback docz May 9, 2019
.gitignore wip Mar 3, 2019
.prettierrc wip Mar 3, 2019
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md May 27, 2019
LICENSE
README.md Update README.md Mar 23, 2019
doczrc.js
package.json fix security alert Aug 13, 2019
tsconfig.json wip Mar 7, 2019
tslint.json wip Mar 3, 2019
yarn.lock

README.md

Overview

version license issues type last-commit npm

This component is designed to render an awesome switch/toggle component.

Edit React Toggle

New in v2.0.x

Upgrade Guide

If you're using the previous version 1.x, have a look at Upgrade to 2.0 from 1.x before upgrade

Installation

You can use either npm

npm i react-toggle-component

or yarn

yarn add react-toggle-component

Basic Usage

First of all, remember to import the component.

import React from "react"

import {Toggle} from "react-toggle-component"

function Application() {

  return <Toggle name="toggle-1" />;

}

Documentation

See the complete documentation and intercative playground

Contributing

Thanks for any your contribute 👏.

Bugs 🐛

Use the GitHub issues.

License

MIT Licensed. Copyright (c) Giovambattista Fazioli 2019.

You can’t perform that action at this time.