mirror of
https://github.com/block/buzz.git
synced 2026-11-03 07:51:22 +00:00
Align shimmer attribute with split styles
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user