UNPKG

@uva-glass/component-library

Version:

React components UvA

12 lines (11 loc) 535 B
import { LinkProps } from 'react-router'; import { UIButtonVariant } from 'types/UserInterface'; export interface LinkButtonProps extends Omit<LinkProps, 'className' | 'style'> { /** The variant of the button. */ variant: UIButtonVariant; } /** Represents a button that is used as a Link within react-router. * * Only works when rendered inside a 'react-router' BrowserRouter */ export declare const LinkButton: import('react').ForwardRefExoticComponent<LinkButtonProps & import('react').RefAttributes<HTMLAnchorElement>>;