diff --git a/src/widgets/SampleList/index.ts b/src/widgets/SampleList/index.ts new file mode 100644 index 0000000..fac592d --- /dev/null +++ b/src/widgets/SampleList/index.ts @@ -0,0 +1 @@ +export { SampleList } from './ui'; diff --git a/src/widgets/SampleList/ui/SampleList/SampleList.svelte b/src/widgets/SampleList/ui/SampleList/SampleList.svelte new file mode 100644 index 0000000..418956f --- /dev/null +++ b/src/widgets/SampleList/ui/SampleList/SampleList.svelte @@ -0,0 +1,66 @@ + + + +{#if unifiedFontStore.isFetching || unifiedFontStore.isLoading} + (Loading...) +{/if} + + + {#snippet children({ item: font, isVisible, proximity, index })} + + + + {/snippet} + diff --git a/src/widgets/SampleList/ui/index.ts b/src/widgets/SampleList/ui/index.ts new file mode 100644 index 0000000..d73a19d --- /dev/null +++ b/src/widgets/SampleList/ui/index.ts @@ -0,0 +1,3 @@ +import SampleList from './SampleList/SampleList.svelte'; + +export { SampleList };