mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
feat(dropdown): make Dropdown
slottable (#1182)
This commit is contained in:
parent
2858776367
commit
f5594daba6
7 changed files with 57 additions and 5 deletions
|
@ -3318,7 +3318,14 @@
|
|||
}
|
||||
],
|
||||
"moduleExports": [],
|
||||
"slots": [],
|
||||
"slots": [
|
||||
{
|
||||
"name": "__default__",
|
||||
"default": true,
|
||||
"fallback": "{itemToString(item)}",
|
||||
"slot_props": "{ item: DropdownItem; index: number; }"
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"type": "dispatched",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue