@namespace BootstrapBlazor.Components
@inherits BootstrapComponentBase

<div @attributes="AdditionalAttributes" class="@ClassString">
    @if (BackgroundTemplate == null)
    {
        <svg class="icon-svg" version="1.1" viewBox="0 0 42 42" xmlns="http://www.w3.org/2000/svg">
            <path d="M34 42H8c-2.2 0-4-1.8-4-4V4c0-2.2 1.8-4 4-4h19l11 11v27c0 2.2-1.8 4-4 4zM27 4v7h7l-7-7zm7 10H24V4H8v34h26V14z" />
        </svg>
    }
    else
    {
        @BackgroundTemplate
    }
    <span class="@IconClassString">@Extension</span>
</div>
