mirror of
https://github.com/harivansh-afk/Saas-Teamspace.git
synced 2026-04-17 03:03:48 +00:00
initial commit
This commit is contained in:
commit
ef9ccf22d3
133 changed files with 20802 additions and 0 deletions
22
components/auth/back-button.tsx
Normal file
22
components/auth/back-button.tsx
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
'use client'
|
||||
|
||||
import { Button } from '@/components/ui/button'
|
||||
import Link from 'next/link'
|
||||
|
||||
interface BackButtonProps {
|
||||
label: string
|
||||
href: string
|
||||
}
|
||||
|
||||
export const BackButton = ({ label, href }: BackButtonProps) => {
|
||||
return (
|
||||
<Button
|
||||
variant="link"
|
||||
className="w-full mt-2 text-blue-500"
|
||||
size="sm"
|
||||
asChild
|
||||
>
|
||||
<Link href={href}>{label}</Link>
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue