This commit is contained in:
Sam
2026-01-05 13:45:51 +01:00
commit 2d15880b6d
103 changed files with 4390 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
"use client";
import { ReloadIcon } from "@radix-ui/react-icons";
import { Button } from "@/components/ui/button";
export default function ButtonSubmit({ label, disabled, loading }: { label: string, disabled?: boolean, loading?: boolean }) {
return (
<Button type="submit" disabled={disabled || loading} className="w-full">
{loading && <ReloadIcon className="mr-2 h-4 w-4 animate-spin" />}
{label}
</Button>
);
}