You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
471 B
26 lines
471 B
using AntDesign;
|
|
|
|
namespace Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme;
|
|
|
|
public class AbpAntDesignThemeOptions
|
|
{
|
|
public MenuOptions Menu { get; set; }
|
|
}
|
|
|
|
public class MenuOptions
|
|
{
|
|
public MenuTheme Theme { get; set; }
|
|
|
|
public MenuPlace Place { get; set; }
|
|
|
|
public MenuMode GetMode()
|
|
{
|
|
return Place == MenuPlace.Left ? MenuMode.Inline : MenuMode.Horizontal;
|
|
}
|
|
|
|
public enum MenuPlace
|
|
{
|
|
Top,
|
|
Left
|
|
}
|
|
}
|
|
|