mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 11:11:25 +00:00
chore: v11 ContentSwitcher
For better compatibility with existing code bases size `xl` is still supported.
This commit is contained in:
parent
8cf61bd0f7
commit
ee32859ba2
6 changed files with 11 additions and 11 deletions
|
@ -1935,7 +1935,7 @@
|
|||
"name": "size",
|
||||
"kind": "let",
|
||||
"description": "Specify the size of the content switcher",
|
||||
"type": "\"sm\" | \"xl\"",
|
||||
"type": "\"sm\" | \"lg\" ",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"isRequired": false,
|
||||
|
|
|
@ -43,9 +43,9 @@ components: ["ContentSwitcher", "Switch"]
|
|||
</Switch>
|
||||
</ContentSwitcher>
|
||||
|
||||
## Extra-large size
|
||||
## Large size
|
||||
|
||||
<ContentSwitcher size="xl">
|
||||
<ContentSwitcher size="lg">
|
||||
<Switch text="All" />
|
||||
<Switch text="Archived" />
|
||||
</ContentSwitcher>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue