26 lines
422 B
Plaintext
26 lines
422 B
Plaintext
@using System
|
|
@using Sandbox.Razor
|
|
@using Sandbox.UI
|
|
|
|
@inherits Panel
|
|
@attribute [StyleSheet]
|
|
@namespace LuckerGame.UI.MenuComponents
|
|
|
|
<root>
|
|
<div class="lucker-button">
|
|
@ChildContent
|
|
</div>
|
|
</root>
|
|
|
|
@code {
|
|
|
|
private RenderFragment _childContent;
|
|
|
|
public RenderFragment ChildContent
|
|
{
|
|
get { return _childContent; }
|
|
set { _childContent = value; StateHasChanged(); }
|
|
}
|
|
|
|
|
|
} |