mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
Run "yarn build:docs"
This commit is contained in:
parent
5ce4ec58fe
commit
a2c40aa6c3
3 changed files with 12 additions and 3 deletions
|
@ -686,7 +686,9 @@ export interface ComboBoxItem {
|
|||
|
||||
### Slots
|
||||
|
||||
None.
|
||||
| Slot name | Default | Props | Fallback |
|
||||
| :-------- | :------ | :-------------------------------------------------- | :-------------------------------- |
|
||||
| -- | Yes | <code>{ item: ComboBoxItem; index: number } </code> | <code>{itemToString(item)}</code> |
|
||||
|
||||
### Events
|
||||
|
||||
|
|
|
@ -1639,7 +1639,14 @@
|
|||
}
|
||||
],
|
||||
"moduleExports": [],
|
||||
"slots": [],
|
||||
"slots": [
|
||||
{
|
||||
"name": "__default__",
|
||||
"default": true,
|
||||
"fallback": "{itemToString(item)}",
|
||||
"slot_props": "{ item: ComboBoxItem; index: number }"
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"type": "dispatched",
|
||||
|
|
2
types/ComboBox/ComboBox.svelte.d.ts
vendored
2
types/ComboBox/ComboBox.svelte.d.ts
vendored
|
@ -157,7 +157,7 @@ export default class ComboBox extends SvelteComponentTyped<
|
|||
clear: WindowEventMap["clear"];
|
||||
scroll: WindowEventMap["scroll"];
|
||||
},
|
||||
{}
|
||||
{ default: { item: ComboBoxItem; index: number } }
|
||||
> {
|
||||
/**
|
||||
* Clear the combo box programmatically
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue