diff --git a/docs/pages/components/switch.md b/docs/pages/components/switch.md index 42765036..194a51cf 100644 --- a/docs/pages/components/switch.md +++ b/docs/pages/components/switch.md @@ -84,6 +84,8 @@ Add descriptive help text to a switch with the `help-text` attribute. For help t ``` ```jsx:react +import SlSwitch from '@shoelace-style/shoelace/dist/react/checkbox'; + const App = () => Label; ```