Skip to content

gfazioli/react-toggle

Repository files navigation

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 atUpgrade to 2.0 from 1.xbefore upgrade

Installation

You can use eithernpm

npm i react-toggle-component

oryarn

yarn add react-toggle-component

Basic Usage

First of all, remember to import the component.

importReactfrom"react"

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

functionApplication(){

return<Togglename="toggle-1"/>;

}

Documentation

See the completedocumentation and interactive playground

Contributing

Thanks for any of your contributions 👏.

Bugs 🐛

Use the GitHub issues.

License

MIT Licensed. Copyright (c) Giovambattista Fazioli 2019.