adrian-delgado / react-toggle

A React UI Component to display an awesome Toggle Button control

Home Page:https://gfazioli.github.io/react-toggle/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A React UI Component to display an awesome Toggle Button control

https://gfazioli.github.io/react-toggle/

License:MIT License


Languages

Language:TypeScript 98.1%Language:JavaScript 1.9%