btcpayserver/BTCPayServer/Components/Icon/Icon.cs
d11n fc9d4f96a7
Design system and icon updates for 2.0 (#5938)
* Design system updates

* Icon fix

* Add new icons, replace show/hide

* Icon replacements

* Test fix

* Icon replacements in Vault

* More icon replacements

* Final icon replacements, remove Font Awesome
2024-05-20 08:57:46 +09:00

16 lines
344 B
C#

using Microsoft.AspNetCore.Mvc;
namespace BTCPayServer.Components.Icon;
public class Icon : ViewComponent
{
public IViewComponentResult Invoke(string symbol, string cssClass = null)
{
var vm = new IconViewModel
{
Symbol = symbol,
CssClass = cssClass
};
return View(vm);
}
}