UI/SpawnMenu/Dupes/DupesFooter.razor

A small UI Razor component for the spawn menu dupes footer. It defines a Panel-derived component that renders a single save UIButton bound to MakeSave and disabled when CanSaveDupe() returns false.

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

<root>

<UIButton Icon="save" Text="#spawnmenu.dupes.save_button" Disabled=@( !CanSaveDupe() ) @onclick=@MakeSave></UIButton>

</root>