@clipmx/switch
v0.1.8
Published
Clip UI switch form control
Downloads
4
Readme
Clip Switch
Installation
npm install @clipmx/switch --save
Usage
import React from 'react';
import Switch from '@clipmx/switch';
const MyComponent = () => (
<div>
Hello World
<Switch label="I'm a control" />
</div>
);
export default MyComponent;
Props
This is a wrapper of the Material-UI switch, so you can use any props that Material-UI supports.