chore: update href type

This commit is contained in:
ValdiANS
2026-01-24 11:19:04 +07:00
parent f0051b58bb
commit 5e53f8764e
+2 -1
View File
@@ -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;