<script lang="ts">
import {
    FontListItem,
    FontVirtualList,
    fontshareStore,
} from '$entities/Font';
</script>

<FontVirtualList items={fontshareStore.fonts}>
    {#snippet children({ item: font })}
        <FontListItem {font} />
    {/snippet}
</FontVirtualList>
