Fix switch demo

This commit is contained in:
Cory LaViska
2020-08-24 10:02:45 -04:00
parent 39ee5f1f69
commit 04234859cb

View File

@@ -5,7 +5,7 @@
Switches allow the user to toggle an option on or off.
```html preview
<sl-switch style="--width: 100px;">Switch</sl-switch>
<sl-switch>Switch</sl-switch>
```
?> This component doesn't work with standard forms. Use [`<sl-form>`](/components/form.md) instead.