fix(module: confirm): cannot config confirm width (#651) (#654)

This commit is contained in:
zxyao 2020-09-28 23:46:27 +08:00 committed by GitHub
parent 62c84aa84f
commit 86cd7a1184
2 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,6 @@ namespace AntDesign
config.ClassName = "ant-modal-confirm ant-modal-confirm-" + confirmOptions.ConfirmType;
config.DestroyOnClose = true;
config.Width = 416;
config.Title = null;
config.CloseIcon = null;
config.OnClosed = Close;

View File

@ -32,7 +32,7 @@ namespace AntDesign
public OneOf<string, RenderFragment> Content { get; set; }
public OneOf<string, double> Width { get; set; } = 520;
public OneOf<string, double> Width { get; set; } = 416;
public bool Centered { get; set; }