added tons of features
This commit is contained in:
16
components/auth/back-button.tsx
Normal file
16
components/auth/back-button.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import Link from 'next/link'
|
||||
|
||||
import {Button} from '@/components/ui/button'
|
||||
|
||||
interface BackButtonProps {
|
||||
label: string
|
||||
href: string
|
||||
}
|
||||
|
||||
export const BackButton = ({label, href}: BackButtonProps) => {
|
||||
return (
|
||||
<Button variant='link' className='w-full font-normal' size='sm' asChild>
|
||||
<Link href={href}>{label}</Link>
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user