Ready for 1.1.3-rc.3 release.

This commit is contained in:
charlesgauthereau
2025-11-04 08:48:46 +01:00
parent bcbd6bbea1
commit a435a92d41
25 changed files with 373 additions and 134 deletions
@@ -0,0 +1,18 @@
"use client";
import React from "react";
import { useRouter } from "next/navigation";
import { Button } from "@/components/ui/button";
type BackButtonProps = React.ComponentProps<typeof Button> & {
children: React.ReactNode;
};
export default function BackButton({ children, ...props }: BackButtonProps) {
const router = useRouter();
return (
<Button onClick={() => router.back()} aria-label={children?.toString()} {...props}>
{children}
</Button>
);
}