import * as React from "react";
import { cn } from "../lib/cn";

export function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {
  return (
    <div
      aria-hidden
      className={cn(
        "animate-pulse rounded bg-surface-2",
        "motion-reduce:animate-none",
        className
      )}
      {...props}
    />
  );
}
