@namespace Connected.Components

@inherits UIComponent

@*this makes dialog inlineable, it will only render inside a DialogInstance*@
@if (!IsInline)
{
    <FocusTrap DefaultFocus="DefaultFocus">

        <div @attributes="CustomAttributes" class="@ContentClass" style="@ContentStyle">
            @DialogContent
        </div>

        @if (DialogActions != null)
        {
            <div class="@ActionClass">
                @DialogActions
            </div>
        }

    </FocusTrap>
}
