types(Sidebar): use tsx (#8121)

This commit is contained in:
neverland
2021-02-10 11:14:50 +08:00
committed by GitHub
parent 3d0e6d661e
commit 692631968d
8 changed files with 43 additions and 33 deletions
+6 -6
View File
@@ -90,9 +90,9 @@ export default {
### Sidebar Events
| Event | Description | Arguments |
| ------ | -------------------------------- | ---------------------------- |
| change | Emitted when chosen item changed | index: index of current item |
| Event | Description | Arguments |
| ------ | -------------------------------- | --------------- |
| change | Emitted when chosen item changed | _index: number_ |
### SidebarItem Props
@@ -108,9 +108,9 @@ export default {
### SidebarItem Events
| Event | Description | Arguments |
| ----- | ------------------------------- | ---------------------------- |
| click | Emitted when an item is clicked | index: index of current item |
| Event | Description | Arguments |
| ----- | ------------------------------- | --------------- |
| click | Emitted when an item is clicked | _index: number_ |
### SidebarItem Slots