mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(toggle): add missing hideLabel
prop (#1414)
* fix(toggle): add missing hideLabel prop * Run "yarn build:docs" * test(toggle): assert hideLabel prop * docs(toggle): add "Hidden label text" example
This commit is contained in:
parent
614e6eb087
commit
f4d12b805a
6 changed files with 34 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
import { Toggle, ToggleSkeleton } from "../types";
|
||||
</script>
|
||||
|
||||
<Toggle labelText="Push notifications" />
|
||||
<Toggle labelText="Push notifications" hideLabel />
|
||||
|
||||
<Toggle
|
||||
labelText="Push notifications"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue