UNPKG

@withjoy/joykit

Version:

UI Component Library for Joy web

18 lines (17 loc) 623 B
import React from 'react'; import { AbstractButton, AbstractButtonProps } from '../../common/AbstractButton'; export interface LinkProps extends AbstractButtonProps { component?: 'a' | 'button' | React.ComponentType<any>; color?: string; /** * Controls when the link should have an underline, if the component is an anchor. */ underline?: 'none' | 'hover' | 'always'; [x: string]: any; } export declare class Link extends AbstractButton<LinkProps & React.LinkHTMLAttributes<any>> { static defaultProps: { component: string; }; render(): React.ReactNode; }