/*doc
---
title: Toggle
name: toggle_react
parent: form_react
---

<code class="pam">
  <i class="fa fa-download" alt="Install the Component">
    npm install pui-react-toggle --save
  </i>
</code>

Require the subcomponent:

```
var Toggle = require('pui-react-toggle').Toggle;
```

The Toggle component takes an `onChange` callback.

```react_example
<Toggle onChange={() => console.log('I have been toggled!')}/>
```

*/

@@ -414,11 +414,111 @@
 /%3E%0A%60%60%60%0A%0A
+Toggles accept a %60checked%60 prop that turns on the switch.%0A%0A%60%60%60react_example%0A %3CToggle checked/%3E%0A%60%60%60%0A%0A
 */%0A

Document Toggle checked prop in styleguide