@namespace Connected.Components
@inherits UIComponent

@if (Visible)
{
    <div @attributes="CustomAttributes" class="@Classname" style="@Styles" @onclick="OnClickHandler" @onclick:stopPropagation="true">
        @if(LightBackground || DarkBackground)
        {
            <div class="@ScrimClassname"></div>
        }
        @if(ChildContent != null)
        {
            <div class="overlay-content">
                @ChildContent
            </div>
        }
    </div>
}
