2.1.1 • Published 6 years ago

@materialr/icon-toggle v2.1.1

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

MaterialR IconToggle

@materialr/icon-toggle

Build Status Coverage Status NSP Status semantic-release

React Material icon-toggle implementation.

Installation

$ npm install --save @materialr/icon-toggle

Demo

A full demo is available on the MaterialR website showcasing all variants.

Components

Default export

import IconToggle from '@materialr/icon-toggle';

Props

PropTypeRequiredDefaultDescription
classNamestringNoundefinedAdditional classNames to add
disabledboolNofalseWhether the icon-toggle is disabled
iconOffstringYesN/AThe material icon to render for the off state
iconOnstringYesN/AThe material icon to render for the on state
labelOffstringYesN/AThe title to add to the icon-toggle in the off state
labelOnstringYesN/AThe title to add to the icon-toggle in the on state
onChangefuncYesN/AThe change handler method
2.1.1

6 years ago

2.1.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago