mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
chore: v11 TreeView
Size `compact` changed to `xs`. For better compatibility with existing codebases size `compact` is still supported.
This commit is contained in:
parent
68aa238621
commit
2df821512f
7 changed files with 13 additions and 15 deletions
|
@ -23,11 +23,11 @@ The active node can be set through `activeId`.
|
|||
|
||||
<FileSource src="/framed/TreeView/TreeViewActive" />
|
||||
|
||||
## Compact size
|
||||
## Extra-small size
|
||||
|
||||
Set `size` to `"compact"` to use the compact variant.
|
||||
Set `size` to `"xs"` to use the extra-small variant.
|
||||
|
||||
<FileSource src="/framed/TreeView/TreeViewCompact" />
|
||||
<FileSource src="/framed/TreeView/TreeViewXs" />
|
||||
|
||||
## With icons
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue