kopia lustrzana https://github.com/shoelace-style/shoelace
add missing import
rodzic
5edfcfa386
commit
01d49ab4ed
|
@ -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>;
|
||||
```
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue