feat(DropdownItem): add title slot (#4975)

This commit is contained in:
neverland
2019-11-10 11:47:11 +08:00
committed by GitHub
parent 76cdb03962
commit 9d12e895fe
6 changed files with 45 additions and 2 deletions
+7
View File
@@ -140,6 +140,13 @@ Use `active-color` prop to custom active color of the title and options
| opened | Triggered when opened menu | - |
| close | Triggered when close menu | - |
### DropdownItem Slots
| Name | Description |
|------|------|
| default | Content |
| title | Custom title |
### DropdownItem Methods
Use ref to get DropdownItem instance and call instance methods