feat(tabs): support "container" type for TabsSkeleton

This commit is contained in:
Eric Y Liu 2021-03-18 15:51:17 -07:00
commit 70a3b79ed3
5 changed files with 40 additions and 15 deletions

View file

@ -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": [],

View file

@ -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} />