import clsx from 'clsx'; import { ComponentProps } from 'react'; import { Button } from './buttons'; import { Link } from './Link'; export function LinkButton({ to, params, disabled, children, className, ...props }: ComponentProps & ComponentProps) { const button = ( ); if (disabled) { return button; } return ( {button} ); }