1.0.5 • Published 2 years ago

react-switch-tis v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-switch-tis

NPM JavaScript Style Guide

react-switch-tis Banner

Install

npm i react-switch-tis

or

yarn add react-switch-tis

Usage

import React from 'react';

import { Switch, labelPosition } from 'react-switch-tis';
import 'react-switch-tis/dist/index.css';

const App = () => {
  return (
      <Switch
        className='Switch'
        onChange={(e, checked) => console.log(checked)}
        label='Wi-Fi'
        color='#0085fe'
        small={true}
        labelPosition={labelPosition.start}
        checked={false}
        darkMode={false}
      />
  );
};

export default App;

License

MIT © boof-tech

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago