feat: add cookies copying functionality

This commit is contained in:
zhom
2026-01-11 01:35:05 +04:00
parent e9c084d6a4
commit cddc4544b0
16 changed files with 1328 additions and 21 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
import { LuLoaderCircle } from "react-icons/lu";
import { cn } from "@/lib/utils";
import {
type RippleButtonProps as ButtonProps,
RippleButton as UIButton,
@@ -8,10 +9,10 @@ type Props = ButtonProps & {
isLoading: boolean;
"aria-label"?: string;
};
export const LoadingButton = ({ isLoading, ...props }: Props) => {
export const LoadingButton = ({ isLoading, className, ...props }: Props) => {
return (
<UIButton
className="grid place-items-center"
className={cn("grid place-items-center", className)}
{...props}
disabled={props.disabled || isLoading}
>