Align shimmer attribute with split styles

This commit is contained in:
klopez4212
2026-06-29 21:15:49 +01:00
parent c5fca7f3dc
commit 24bc99f2a6

View File

@@ -7,7 +7,10 @@ type ShimmerProps = {
export function Shimmer({ children, className }: ShimmerProps) {
return (
<span className={cn("buzz-shimmer", className)} data-text={children}>
<span
className={cn("buzz-shimmer", className)}
data-shimmer-text={children}
>
{children}
</span>
);