Skip to content

Commit

Permalink
coderabbitai
Browse files Browse the repository at this point in the history
  • Loading branch information
Innocent-Akim committed Dec 12, 2024
1 parent d86b995 commit b743c96
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import { cn } from "@/lib/utils";
import { useTranslations } from "next-intl";

const ActionButton = ({ label, onClick }: { label: string; onClick?: () => void }) => (
type ActionButtonProps = {
label: string;
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
};

const ActionButton = ({ label, onClick }: ActionButtonProps) => (
<button
className="bg-white font-semibold h-8 px-3 rounded-lg text-[#282048] dark:text-white dark:bg-primary-light"
onClick={onClick}
Expand Down

0 comments on commit b743c96

Please sign in to comment.