import type { DetailedHTMLProps } from "react";
import { cn } from "~/lib/utils";
export interface ILoaderProps
extends DetailedHTMLProps<
React.HTMLAttributes,
HTMLDivElement
> {
size?: string;
showLabel?: boolean;
color?: "black" | "white";
}
export default function Loader({ color = "black", ...props }: ILoaderProps) {
return (
{props.showLabel &&
Đang tải...}
);
}