@namespace Lumeo

@if (string.IsNullOrEmpty(Size))
{
    <div class="@($"flex-1 {Class}".Trim())" @attributes="AdditionalAttributes"></div>
}
else
{
    <div class="@($"w-{Size} h-{Size} {Class}".Trim())" @attributes="AdditionalAttributes"></div>
}

@code {
    [Parameter] public string? Size { get; set; }
    [Parameter] public string? Class { get; set; }
    [Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object>? AdditionalAttributes { get; set; }
}
