@@ -121,8 +121,10 @@ export default {
121121| className | Custom className | `String | Array | Object` | - |
122122| showConfirmButton | Whether to show confirm button | ` Boolean ` | ` true ` |
123123| showCancelButton | Whether to show cancel button | ` Boolean ` | ` false ` |
124+ | cancelButtonText | Cancel button text | ` String ` | ` Cancel ` |
125+ | cancelButtonColor | Cancel button color | ` String ` | ` #000 ` |
124126| confirmButtonText | Confirm button text | ` String ` | ` Confirm ` |
125- | cancelButtonText | Cancel button test | ` String ` | ` Cancel ` |
127+ | confirmButtonColor | Confirm button color | ` String ` | ` #1989fa ` |
126128| overlay | Whether to show overlay | ` Boolean ` | ` true ` |
127129| closeOnClickOverlay | Whether to close when click overlay | ` Boolean ` | ` false ` |
128130| lockScroll | Whether to lock body scroll | ` Boolean ` | ` true ` |
@@ -139,8 +141,10 @@ export default {
139141| message-align | Message align,can be set to ` left ` ` right ` | ` String ` | ` center ` |
140142| show-confirm-button | Whether to show confirm button | ` Boolean ` | ` true ` |
141143| show-cancel-button | Whether to show cancel button | ` Boolean ` | ` false ` |
142- | confirm-button-text | Confirm button text | ` String ` | ` Confirm ` |
143- | cancel-button-text | Cancel button test | ` String ` | ` Cancel ` |
144+ | cancel-button-text | Cancel button text | ` String ` | ` Cancel ` |
145+ | cancel-button-color | Cancel button color | ` String ` | ` #000 ` |
146+ | confirm-button-text | Confirm button text | ` String ` | ` Confirm ` |
147+ | confirm-button-color | Confirm button color | ` String ` | ` #1989fa ` |
144148| overlay | Whether to show overlay | ` Boolean ` | ` true ` |
145149| close-on-click-overlay | Whether to close when click overlay | ` Boolean ` | ` false ` |
146150| lock-scroll | Whether to lock background scroll | ` Boolean ` | ` true ` |
0 commit comments