File size: 639 Bytes
d530f14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"use client";

import React from "react";
import { AnimatedDotIcon } from "@/components/shared/animated-dot-icon";

interface AsciiDotLoaderProps {
  size?: number;
  animated?: boolean;
  className?: string;
  pattern?: Parameters<typeof AnimatedDotIcon>[0]["pattern"];
}

// Thin wrapper to reuse the exact ASCII pixel effect used on the home hero
export default function AsciiDotLoader({
  size = 20,
  animated = true,
  className,
  pattern = "logs",
}: AsciiDotLoaderProps) {
  return (
    <AnimatedDotIcon
      size={size}
      active={animated}
      alwaysHeat
      className={className}
      pattern={pattern}
    />
  );
}