diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 2f209ece..b55e5e24 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -2,11 +2,12 @@ import react from 'react'; import Link from 'next/link'; import { cn } from '@/lib/helper'; import { Color } from '@/types/theme'; +import { UrlObject } from 'url'; export interface ButtonProps extends react.ComponentProps<'button'> { variant?: 'soft' | 'outline' | 'dash' | 'ghost' | 'link' | 'active'; color?: Color; - href?: string; + href?: string | UrlObject; isLoading?: boolean; target?: string; rel?: string;