You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
590 B
19 lines
590 B
import type { ComponentProps } from "react";
|
|
|
|
interface LoadingThreeDotProps extends ComponentProps<"span"> {}
|
|
|
|
export function LoadingThreeDot({
|
|
className = "",
|
|
...props
|
|
}: LoadingThreeDotProps) {
|
|
return (
|
|
<span
|
|
className={`inline-flex items-center justify-center gap-1.5 py-0.5 ${className}`}
|
|
{...props}
|
|
>
|
|
<span className="size-2 rounded-full bg-current animate-dots-slide-1" />
|
|
<span className="size-2 rounded-full bg-current animate-dots-slide-2" />
|
|
<span className="size-2 rounded-full bg-current animate-dots-slide-3" />
|
|
</span>
|
|
);
|
|
}
|