import React from 'react'; import Switch from '../../components/switch'; class SwitchTest extends React.Component { handleChange = (event, instance) => { console.log('[Switch] Changed', instance.getValue()); }; render () { return (
Switches

This is more beautiful than the old fashion checkboxes...

); } } export default SwitchTest;