Skip to content

Commit

Permalink
add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Feb 8, 2024
1 parent 5edfcfa commit 01d49ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/pages/components/switch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => <SlSwitch help-text="What should the user know about the switch?">Label</SlSwitch>;
```

Expand Down

0 comments on commit 01d49ab

Please sign in to comment.