feat(Picker): add option slot (#7380)

This commit is contained in:
neverland
2020-10-21 21:52:12 +08:00
committed by GitHub
parent 7ec560fc82
commit ea210bb013
6 changed files with 91 additions and 18 deletions
+9 -8
View File
@@ -269,14 +269,15 @@ Picker events will pass different parameters according to the columns are single
### Slots
| Name | Description |
| ------------------ | ---------------------------- |
| default | Custom toolbar content |
| title | Custom title |
| confirm `v2.10.11` | Custom confirm button text |
| cancel `v2.10.11` | Custom cancel button text |
| columns-top | Custom content above columns |
| columns-bottom | Custom content below columns |
| Name | Description | SlotProps |
| --- | --- | --- |
| default | Custom toolbar content | - |
| title | Custom title | - |
| confirm `v2.10.11` | Custom confirm button text | - |
| cancel `v2.10.11` | Custom cancel button text | - |
| option `v2.10.11` | Custom option content | _option: string \| object_ |
| columns-top | Custom content above columns | - |
| columns-bottom | Custom content below columns | - |
### Data Structure of Column