mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
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:
1
types/dialog.d.ts
vendored
1
types/dialog.d.ts
vendored
@@ -7,6 +7,7 @@ export type DialogOptions = {
|
||||
title?: string;
|
||||
width?: string | number;
|
||||
message?: string;
|
||||
theme?: string;
|
||||
overlay?: boolean;
|
||||
className?: any;
|
||||
allowHtml?: boolean;
|
||||
|
Reference in New Issue
Block a user