mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
Merge pull request #45 from metonym/accordion
refactor(accordion-item): remove comments, let assignment
This commit is contained in:
commit
5ec9c0089f
1 changed files with 0 additions and 4 deletions
|
@ -1,6 +1,4 @@
|
|||
<script>
|
||||
// NOTE: no 'renderExpando'; use 'expando' named slot
|
||||
// TODO: change 'expando' to something more intuitive?
|
||||
let className = undefined;
|
||||
export { className as class };
|
||||
export let title = undefined;
|
||||
|
@ -11,8 +9,6 @@
|
|||
import ChevronRight16 from 'carbon-icons-svelte/lib/ChevronRight16';
|
||||
import { cx } from '../../lib';
|
||||
|
||||
let animation = undefined;
|
||||
|
||||
$: animation = open ? 'expanding' : 'collapsing';
|
||||
$: _class = cx(
|
||||
'--accordion__item',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue