mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
18 lines
434 B
C#
18 lines
434 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BTCPayServer.Components.ThemeSwitch
|
|
{
|
|
public class ThemeSwitch : ViewComponent
|
|
{
|
|
public IViewComponentResult Invoke(string cssClass = null, string responsive = null)
|
|
{
|
|
var vm = new ThemeSwitchViewModel
|
|
{
|
|
CssClass = cssClass,
|
|
Responsive = responsive
|
|
};
|
|
return View(vm);
|
|
}
|
|
}
|
|
}
|