mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat(content-switcher): add "sm", "xl" size variants
This commit is contained in:
parent
f692403fcc
commit
3edf9ea2a2
4 changed files with 34 additions and 5 deletions
|
@ -31,6 +31,22 @@
|
|||
<Switch text="Switch 2" />
|
||||
</ContentSwitcher>
|
||||
|
||||
### Extra-large size
|
||||
|
||||
<ContentSwitcher size="xl">
|
||||
<Switch text="Switch 1" />
|
||||
<Switch text="Switch 2" />
|
||||
<Switch text="Switch 3" />
|
||||
</ContentSwitcher>
|
||||
|
||||
### Small size
|
||||
|
||||
<ContentSwitcher size="sm">
|
||||
<Switch text="Switch 1" />
|
||||
<Switch text="Switch 2" />
|
||||
<Switch text="Switch 3" />
|
||||
</ContentSwitcher>
|
||||
|
||||
### Disabled
|
||||
|
||||
<ContentSwitcher>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue