feat(Cascader): add option slot (#9036)

* feat(Cascader): add option-text slot

* chore: adjust slot
This commit is contained in:
neverland
2021-07-15 14:44:07 +08:00
committed by GitHub
parent 69524def7b
commit 4de5f5ac5a
5 changed files with 71 additions and 40 deletions
+4 -3
View File
@@ -235,9 +235,10 @@ export default {
### Slots
| Name | Description |
| ----- | ------------ |
| title | Custom title |
| Name | Description | SlotProps |
| --- | --- | --- |
| title | Custom title | - |
| option `v3.1.4` | Custom option text | _{ option: Option, selected: boolean }_ |
### CSS Variables