feat(dropdown): make Dropdown slottable (#1182)

This commit is contained in:
metonym 2022-03-19 09:15:52 -07:00 committed by GitHub
commit f5594daba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 57 additions and 5 deletions

View file

@ -1197,7 +1197,9 @@ export interface DropdownItem {
### Slots
None.
| Slot name | Default | Props | Fallback |
| :-------- | :------ | :--------------------------------------------------- | :-------------------------------- |
| -- | Yes | <code>{ item: DropdownItem; index: number; } </code> | <code>{itemToString(item)}</code> |
### Events