mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 06:21:44 +01:00
* 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
16 lines
344 B
C#
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);
|
|
}
|
|
}
|