UI/Components/SpawnMenuPath.razor

A small Razor UI component for the spawn menu, defines a Panel-derived component that exposes a string property Path and renders a root element containing a Path element.

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

<root>
	@Path
</root>


@code
{
	public string Path { get; set;  }

}