mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat(toggle): support small size, deprecate ToggleSmall
This commit is contained in:
parent
b00e4316fd
commit
1e3eef992c
12 changed files with 91 additions and 17 deletions
|
@ -23,6 +23,14 @@ components: ["Toggle", "ToggleSkeleton"]
|
|||
|
||||
<Toggle labelText="Push notifications" disabled />
|
||||
|
||||
### Small size
|
||||
|
||||
<Toggle size="sm" labelText="Push notifications" />
|
||||
|
||||
### Skeleton
|
||||
|
||||
<ToggleSkeleton />
|
||||
<ToggleSkeleton />
|
||||
|
||||
### Skeleton (small)
|
||||
|
||||
<ToggleSkeleton size="sm" />
|
Loading…
Add table
Add a link
Reference in a new issue