feat(accordion): add "sm", "xl" size variants to Accordion and AccordionSkeleton

This commit is contained in:
Eric Liu 2020-10-15 15:48:48 -07:00
commit cb80c7d15b
7 changed files with 50 additions and 14 deletions

View file

@ -7,7 +7,7 @@
/**
* Specify the size of the accordion
* @type {"sm" | "lg"} [size]
* @type {"sm" | "xl"} [size]
*/
export let size = undefined;
@ -24,6 +24,7 @@
<AccordionSkeleton
{...$$restProps}
align="{align}"
size="{size}"
on:click
on:mouseover
on:mouseenter