[new feature] Tabs: add nav-left、nav-right slots (#2828)
This commit is contained in:
@@ -174,12 +174,19 @@ In swipeable mode, you can switch tabs with swipe gestrue in the content
|
||||
| title | Title | `String` | - |
|
||||
| disabled | Whether to disable tab | `Boolean` | `false` |
|
||||
|
||||
### Tabs Slot
|
||||
|
||||
| name | Description |
|
||||
|------|------|
|
||||
| nav-left | Custom nav left content |
|
||||
| nav-right | Custom nav right content |
|
||||
|
||||
### Tab Slot
|
||||
|
||||
| name | Description |
|
||||
|------|------|
|
||||
| - | Content |
|
||||
| title | Custom tab |
|
||||
| default | Content of tab |
|
||||
| title | Custom tab title |
|
||||
|
||||
### Tabs Event
|
||||
|
||||
|
||||
Reference in New Issue
Block a user