mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-27 17:05:42 -04:00
9 lines
312 B
TypeScript
9 lines
312 B
TypeScript
import { cn } from "@/lib/utils";
|
|
import type { ComponentPropsWithoutRef } from "react";
|
|
|
|
const Skeleton = ({ className, ...rest }: ComponentPropsWithoutRef<"div">) => {
|
|
return <div data-slot="skeleton" className={cn("bg-accent animate-pulse rounded-md", className)} {...rest} />;
|
|
};
|
|
|
|
export default Skeleton;
|