feat(button-skeleton): add size prop consistent with Button

This commit is contained in:
Eric Liu 2020-10-15 05:31:22 -07:00
commit 6d48ff38cb
5 changed files with 33 additions and 9 deletions

View file

@ -123,7 +123,7 @@
{#if skeleton}
<ButtonSkeleton
href="{href}"
small="{size === 'small'}"
size="{size}"
{...$$restProps}
style="{hasIconOnly && 'width: 3rem;'}"
on:click