import React from 'react';
import ReactDOM from 'react-dom';
import Switch from '..';
function onChange(checked) {
    console.log(`switch to ${checked}`);
}
ReactDOM.render(React.createElement("div", null,
    React.createElement(Switch, { autoWidth: true, checkedChildren: "on", onChange: onChange, unCheckedChildren: "off", "aria-label": "accessible switch" })), document.getElementById('switch-demo-6'));
