UI/SpawnMenu/Spawnlists/SpawnlistFooter.razor

Razor UI component for the spawn menu footer. It renders a single Button that opens a create-popup for a new spawnlist and disables itself when the CanCreate() check fails.

@using Sandbox;
@using Sandbox.UI;
@using Sandbox.Mounting;
@inherits Panel
@namespace Sandbox

<root>

<Button class="menu-action primary wide" Icon="➕" Text="#spawnmenu.spawnlist.new_button" Disabled=@( !CanCreate() ) @onclick=@CreatePopup></Button>

</root>