Something went wrong. Try again.
FlockOff is a mass-block tool for the Atmosphere flockoff.app
Something went wrong. Try again.
652 B · 31 lines
TSX
at master
1234567891011121314151617181920212223242526272829303132import Link from 'next/link'import { buttonVariants } from '@/components/ui/button'import { cn } from '@/lib/utils'import type { VariantProps } from 'class-variance-authority'
interface LinkButtonProps extends VariantProps<typeof buttonVariants> { href: string className?: string children: React.ReactNode target?: string rel?: string}
export function LinkButton({ href, variant = 'default', size = 'default', className, children, ...rest}: LinkButtonProps) { return ( <Link href={href} className={cn(buttonVariants({ variant, size }), className)} {...rest} > {children} </Link> )}