mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-19 08:15:28 -04:00
do react types more better too 🧠
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { cn } from "@/lib/utils";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
const Skeleton = ({ className, ...rest }: ComponentPropsWithoutRef<"div">) => {
|
||||
const Skeleton = ({ className, ...rest }: React.ComponentProps<"div">) => {
|
||||
return <div data-slot="skeleton" className={cn("bg-accent animate-pulse rounded-md", className)} {...rest} />;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user