mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
refactor(accordion): use the class name directive, resolve svelte icon paths
This commit is contained in:
parent
9b74c55bf4
commit
c401149b5a
6 changed files with 26 additions and 23 deletions
2
types/Accordion/AccordionItem.d.ts
vendored
2
types/Accordion/AccordionItem.d.ts
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue