feat: ActionSheet、ShareSheet add before-close prop (#9068)

This commit is contained in:
neverland
2021-07-19 21:02:42 +08:00
committed by GitHub
parent eaa9bf3680
commit 29c63a905b
7 changed files with 9 additions and 4 deletions
+1
View File
@@ -183,6 +183,7 @@ export default {
| close-on-click-overlay | Whether to close when overlay is clicked | _boolean_ | `true` |
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | _boolean_ | `true` |
| teleport | Specifies a target element where ShareSheet will be mounted | _string \| Element_ | - |
| before-close `v3.1.4` | Callback function before close | _(action: string) => boolean \| Promise\<boolean\>_ | - |
### Data Structure of Option