mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 21:17:36 +08:00
15 lines
413 B
C#
15 lines
413 B
C#
using Ardalis.SmartEnum;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public sealed class MenuTheme : SmartEnum<MenuTheme>
|
|
{
|
|
public static readonly MenuTheme Light = new MenuTheme(nameof(Light).ToLowerInvariant(), 1);
|
|
public static readonly MenuTheme Dark = new MenuTheme(nameof(Dark).ToLowerInvariant(), 2);
|
|
|
|
private MenuTheme(string name, int value) : base(name, value)
|
|
{
|
|
}
|
|
}
|
|
}
|