feat(button-skeleton): support xl, lg sizes

This commit is contained in:
Eric Y Liu 2021-06-26 06:36:02 -07:00
commit 23e8b88ac7
5 changed files with 14 additions and 8 deletions

View file

@ -575,7 +575,7 @@
"name": "size",
"kind": "let",
"description": "Specify the size of button skeleton",
"type": "\"default\" | \"field\" | \"small\"",
"type": "\"default\" | \"field\" | \"small\" | \"lg\" | \"xl\"",
"value": "\"default\"",
"isFunction": false,
"constant": false,

View file

@ -134,6 +134,8 @@ Note: the expressive styles only apply to the default and `"xl"` size buttons.
### Skeleton
<Button size="xl" skeleton />
<Button size="lg" skeleton />
<Button skeleton />
<Button skeleton size="field" />
<Button skeleton size="small" />