mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
feat(tabs): support "container" type for TabsSkeleton
This commit is contained in:
parent
a63f8911c4
commit
70a3b79ed3
5 changed files with 40 additions and 15 deletions
|
@ -9148,6 +9148,16 @@
|
|||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "type",
|
||||
"kind": "let",
|
||||
"description": "Specify the type of tabs",
|
||||
"type": "\"default\" | \"container\"",
|
||||
"value": "\"default\"",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
}
|
||||
],
|
||||
"slots": [],
|
||||
|
|
|
@ -37,6 +37,10 @@ components: ["Tabs", "Tab", "TabContent", "TabsSkeleton"]
|
|||
</div>
|
||||
</Tabs>
|
||||
|
||||
### Skeleton
|
||||
### Skeleton (default)
|
||||
|
||||
<TabsSkeleton count={3} />
|
||||
<TabsSkeleton count={3} />
|
||||
|
||||
### Skeleton (container)
|
||||
|
||||
<TabsSkeleton type="container" count={3} />
|
Loading…
Add table
Add a link
Reference in a new issue