diff --git a/src/widgets/SampleList/ui/SampleList/SampleList.svelte b/src/widgets/SampleList/ui/SampleList/SampleList.svelte index 7b36ccf..bcc29e3 100644 --- a/src/widgets/SampleList/ui/SampleList/SampleList.svelte +++ b/src/widgets/SampleList/ui/SampleList/SampleList.svelte @@ -16,6 +16,7 @@ import { controlManager, } from '$features/SetupFont'; import { throttle } from '$shared/lib/utils'; +import { Skeleton } from '$shared/ui'; let text = $state('The quick brown fox jumps over the lazy dog...'); let wrapper = $state(null); @@ -43,6 +44,20 @@ const checkPosition = throttle(() => { }, 100); +{#snippet skeleton()} +
+ {#each Array(5) as _, i} +
+
+ + +
+ +
+ {/each} +
+{/snippet} + { itemHeight={220} useWindowScroll={true} weight={controlManager.weight} + {skeleton} > {#snippet children({ item: font,