feat(Dialog): add new prop theme (#6921)
* feat(dialog): add new prop button-theme & change default confirm button text color * test(dialog): update snapshot * refactor(dialog): rename button-theme to theme * refactor(dialog): add theme definition * docs(dialog): add version tip & change default confirm-button-color
This commit is contained in:
@@ -53,6 +53,7 @@ Dialog.defaultOptions = {
|
||||
className: '',
|
||||
allowHtml: true,
|
||||
lockScroll: true,
|
||||
theme: 'default',
|
||||
transition: 'van-dialog-bounce',
|
||||
beforeClose: null,
|
||||
overlayClass: '',
|
||||
|
||||
Reference in New Issue
Block a user