feat: add Tabs component with Radix UI integration

This commit is contained in:
Maximilian Liebmann 2025-05-11 01:43:00 +02:00 committed by SomeCodecat
parent 8ef6478ea4
commit f631195f8a
3 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,16 @@
import { Button } from '../ui/button';
import Link from 'next/link';
export function RedirectButton({
redirectUrl,
buttonText,
}: {
redirectUrl: string;
buttonText: string;
}) {
return (
<Link href={redirectUrl}>
<Button>{buttonText}</Button>
</Link>
);
}