types(AddressList): use tsx (#8143)

This commit is contained in:
neverland
2021-02-12 18:58:14 +08:00
committed by GitHub
parent e943b081f8
commit eaf01090cc
6 changed files with 63 additions and 36 deletions
+10 -10
View File
@@ -90,11 +90,11 @@ export default {
| Event | Description | Arguments |
| --- | --- | --- |
| add | Emitted when the add button is clicked | - |
| edit | Emitted when the edit icon of address is clicked | item: address objectindex |
| select | Emitted when an address is selected | item: address objectindex |
| edit-disabled | Emitted when the edit icon of disabled address is clicked | item: address objectindex |
| select-disabled | Emitted when a disabled address is selected | item: address objectindex |
| click-item | Emitted when an address item is clicked | item: address objectindex |
| edit | Emitted when the edit icon of address is clicked | _item: Address, index: number_ |
| select | Emitted when an address is selected | _item: Address, index: number_ |
| edit-disabled | Emitted when the edit icon of disabled address is clicked | _item: Address, index: number_ |
| select-disabled | Emitted when a disabled address is selected | _item: Address, index: number_ |
| click-item | Emitted when an address item is clicked | _item: Address, index: number_ |
### Data Structure of Address
@@ -108,11 +108,11 @@ export default {
### Slots
| Name | Description | SlotProps |
| ----------- | ------------------------------ | --------- |
| default | Custom content after list | - |
| top | Custom content before list | - |
| item-bottom | Custom content after list item | item |
| Name | Description | SlotProps |
| ----------- | ------------------------------ | --------------- |
| default | Custom content after list | - |
| top | Custom content before list | - |
| item-bottom | Custom content after list item | _item: Address_ |
### Less Variables