mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat: make titleText
slottable in MultiSelect
, ComboBox
(#1750)
Closes #1747
This commit is contained in:
parent
e2d7e04397
commit
0b4f19c87e
6 changed files with 22 additions and 4 deletions
|
@ -684,6 +684,7 @@ export interface ComboBoxItem {
|
|||
| Slot name | Default | Props | Fallback |
|
||||
| :-------- | :------ | :-------------------------------------------------- | :-------------------------------- |
|
||||
| -- | Yes | <code>{ item: ComboBoxItem; index: number } </code> | <code>{itemToString(item)}</code> |
|
||||
| titleText | No | -- | <code>{titleText}</code> |
|
||||
|
||||
### Events
|
||||
|
||||
|
@ -2389,6 +2390,7 @@ export interface MultiSelectItem {
|
|||
| Slot name | Default | Props | Fallback |
|
||||
| :-------- | :------ | :----------------------------------------------------- | :-------------------------------- |
|
||||
| -- | Yes | <code>{ item: MultiSelectItem; index: number } </code> | <code>{itemToString(item)}</code> |
|
||||
| titleText | No | -- | <code>{titleText}</code> |
|
||||
|
||||
### Events
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue