@inherits ComponentBase

<TableContainer T="HostVideocardEntity"
                @ref="Container"
                @bind-Search="Search"
                Title="@Title"
                Breadcrumbs="@Breadcrumbs"
                Data="LoadDataAsync">
    <Header>
        <MudTh>
                <MudTableSortLabel SortLabel="Company" T="HostVideocardEntity">
                    Manufacturer
                </MudTableSortLabel>
           </MudTh>
            <MudTh>
                <MudTableSortLabel SortLabel="Name" T="HostVideocardEntity">
                    Model
                </MudTableSortLabel>
            </MudTh>
            <MudTh>
                <MudTableSortLabel SortLabel="Memory" T="HostVideocardEntity">
                    Memory
                </MudTableSortLabel>
            </MudTh>
            <MudTh>
                <MudTableSortLabel SortLabel="Driver" T="HostVideocardEntity">
                    Driver
                </MudTableSortLabel>
            </MudTh>
            <MudTh>
                <MudTableSortLabel SortLabel="Date" T="HostVideocardEntity">
                    Date
                </MudTableSortLabel>
            </MudTh>
    </Header>
    <RowTemplate>
        <MudTd DataLabel="Company">
            @(context?.Company ?? "Unknown")
        </MudTd>
        <MudTd DataLabel="Name">
            @context?.Name
        </MudTd>
        <MudTd DataLabel="Memory">
            @if (context?.Memory is not null)
                @($"{Math.Round((context.Memory.Value / Math.Pow(1024, 3)), 2)} GB")
        </MudTd>
        <MudTd DataLabel="Driver">
            @context?.Driver
        </MudTd>
        <MudTd DataLabel="Date">
            @context?.Date?.ToLocalTime().ToString("dd.MM.yyyy HH:mm:ss")
        </MudTd>
    </RowTemplate>
</TableContainer>