ant-design-blazor/components/modal/modalDialog/ModalLocale.cs
zxyao 1bdece0ea8 feat(module: modal): add locale for Modal and Confirm (#932)
* feat(module: modal): add Modal locale

* feat(module: confirm): locale support for zh-cn, en-us

* docs: add the demo of override locale's custom text

* feat: locale's json files add confirm configuration

* fix: custom ButtonProps override Button[1,2,3]Text or OK(Cancel)Text

* docs: using InvokeAsync to invoke StateHasChanged

* docs(module: modal): add override locale de
2020-12-29 23:34:18 +08:00

19 lines
353 B
C#

namespace AntDesign
{
/// <summary>
///
/// </summary>
public class ModalLocale
{
/// <summary>
/// OK button text
/// </summary>
public string OkText { get; set; }
/// <summary>
/// Cancel button text
/// </summary>
public string CancelText { get; set; }
}
}