mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 13:37:35 +08:00
84a3b742c2
* feat(module: confirm): support blocking to get the result of confirm * refactor: change modalservice Confirm return value,add ConfirmAsync FUNC * feat: add ConfirmService * fix: button text Co-authored-by: ElderJames <shunjiey@hotmail.com>
30 lines
749 B
C#
30 lines
749 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Microsoft.AspNetCore.Components;
|
|
using OneOf;
|
|
|
|
namespace AntDesign
|
|
{
|
|
/// <summary>
|
|
/// config the confirm button's properties
|
|
/// </summary>
|
|
public class ConfirmButtonOptions
|
|
{
|
|
/// <summary>
|
|
/// the leftmost button properties in LTR layout
|
|
/// </summary>
|
|
public ButtonProps Button1Props { get; set; }
|
|
|
|
/// <summary>
|
|
/// the secondary button properties in LTR layout
|
|
/// </summary>
|
|
public ButtonProps Button2Props { get; set; }
|
|
|
|
/// <summary>
|
|
/// the third button properties in LTR layout
|
|
/// </summary>
|
|
public ButtonProps Button3Props { get; set; }
|
|
}
|
|
}
|