@inherits MSGComponentBase
@if (this.IsFramed)
{
@this.ChildContent?.Invoke(this.isHighlighted)
}
else
{
@* An area renders one element, with the content immediately inside it. Layouts hang child
selectors on that element, for instance app.css does on .inner-scrolling-context, so an extra
level here would break them. The cascading value renders no element of its own. *@
@if (this.areaState is null)
{
@this.ChildContent?.Invoke(this.isHighlighted)
}
else
{
@this.ChildContent?.Invoke(this.isHighlighted)
}
}