import { For, createMemo, type ValidComponent } from "solid-js" import { Dynamic } from "solid-js/web" export const TextShimmer = (props: { text: string class?: string as?: T active?: boolean stepMs?: number durationMs?: number }) => { const chars = createMemo(() => Array.from(props.text)) const active = () => props.active ?? true return ( {(char, index) => ( )} ) }