import { Link } from '@inertiajs/react';
import { type ComponentProps } from 'react';

import { cn } from '@admin/lib/utils';

export function TextLink({ className, ...props }: ComponentProps<typeof Link>) {
    return (
        <Link
            className={cn('text-primary decoration-2 hover:underline font-medium text-sm', className)}
            {...props}
        />
    );
}
