refactor(accordion): use the class name directive, resolve svelte icon paths

This commit is contained in:
Eric Liu 2020-12-05 15:05:40 -08:00
commit c401149b5a
6 changed files with 26 additions and 23 deletions

View file

@ -3,7 +3,7 @@
export interface AccordionItemProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["li"]> {
/**
* Specify the title of the accordion item heading
* Alternatively, use the named slot "title" (e.g., <div slot="title">...</div>)
* Alternatively, use the "title" slot (e.g., <div slot="title">...</div>)
* @default "title"
*/
title?: string;