mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
feat: support skeleton prop
This commit is contained in:
parent
e2c8ea6d76
commit
bd6bd15c79
5 changed files with 136 additions and 88 deletions
|
@ -6,7 +6,12 @@
|
|||
</script>
|
||||
|
||||
{#if skeleton}
|
||||
<AccordionSkeleton {...$$restProps} />
|
||||
<AccordionSkeleton
|
||||
{...$$restProps}
|
||||
on:click
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave />
|
||||
{:else}
|
||||
<ul
|
||||
class:bx--accordion={true}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue