refactor(accordion-item): remove comments, let assignment

This commit is contained in:
Eric Liu 2019-12-19 19:48:29 -08:00
commit ce985ea90e

View file

@ -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',