[new feature] ActionSheet: add close-on-click-action prop

This commit is contained in:
陈嘉涵
2019-05-05 16:43:12 +08:00
parent 8afcb1e14a
commit 0288fb35a4
5 changed files with 47 additions and 11 deletions
+1
View File
@@ -95,6 +95,7 @@ export default {
| title | Title | `String` | - |
| cancel-text | Text of cancel button | `String` | - |
| overlay | Whether to show overlay | `Boolean` | `true` |
| close-on-click-action | Whether to close when click action | `Boolean` | `false` |
| close-on-click-overlay | Whether to close when click overlay | `Boolean` | `true` |
| lazy-render | Whether to lazy render util appeared | `Boolean` | `true` |
| get-container | Return the mount node for action-sheet | `String | () => HTMLElement` | - |