17 lines
580 B
TypeScript
17 lines
580 B
TypeScript
export function ShimmerDuration() {
|
|
return (
|
|
<div className="mx-auto grid w-full max-w-lg gap-6 text-center text-sm text-muted-foreground sm:grid-cols-2">
|
|
<div className="flex flex-col gap-3">
|
|
<p className="shimmer">Generating response…</p>
|
|
<p className="font-mono text-xs">shimmer</p>
|
|
</div>
|
|
<div className="flex flex-col gap-3">
|
|
<p className="shimmer shimmer-duration-1000">
|
|
Generating response…
|
|
</p>
|
|
<p className="font-mono text-xs">shimmer-duration-1000</p>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|