UI/SpawnMenu/Dupes/DupesFooter.razor

A UI Razor component for the Spawn Menu dupes footer. It defines a panel with a single Button that shows a save icon and label, is disabled when CanSaveDupe() returns false, and calls MakeSave on click.

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

<root>

<Button class="menu-action primary wide" Icon="💾" Text="#spawnmenu.dupes.save_button" Disabled=@( !CanSaveDupe() ) @onclick=@MakeSave></Button>

</root>