docs(ActionSheet): add callback (#8072)

This commit is contained in:
neverland
2021-02-03 11:00:06 +08:00
committed by GitHub
parent 3da3dfe7dd
commit 3db2610931
2 changed files with 10 additions and 8 deletions
+9 -8
View File
@@ -185,14 +185,15 @@ export default {
### Data Structure of Action
| Key | Description | Type |
| --------- | ---------------------------- | --------------------------- |
| name | Title | _string_ |
| subname | Subtitle | _string_ |
| color | Text color | _string_ |
| className | className for the option | _string \| Array \| object_ |
| loading | Whether to be loading status | _boolean_ |
| disabled | Whether to be disabled | _boolean_ |
| Key | Description | Type |
| --------- | ------------------------------- | --------------------------- |
| name | Title | _string_ |
| subname | Subtitle | _string_ |
| color | Text color | _string_ |
| className | className for the option | _string \| Array \| object_ |
| loading | Whether to be loading status | _boolean_ |
| disabled | Whether to be disabled | _boolean_ |
| callback | Callback function after clicked | _action: Action_ |
### Events