security/codeql-dependabot-gitleaks
| 1 | import clsx from "clsx" |
| 2 | import React from "react" |
| 3 | |
| 4 | export type DotsLoadingProps = { |
| 5 | className?: string |
| 6 | } |
| 7 | |
| 8 | export const DotsLoading = ({ className }: DotsLoadingProps) => { |
| 9 | return ( |
| 10 | <span className={clsx("text-medium text-medusa-fg-subtle", className)}> |
| 11 | <span className="animate-pulsingDots">.</span> |
| 12 | <span className="animate-pulsingDots animation-delay-[500ms]">.</span> |
| 13 | <span className="animate-pulsingDots animation-delay-[1000ms]">.</span> |
| 14 | </span> |
| 15 | ) |
| 16 | } |