@clubmed/trident-ui
Version:
Shared ClubMed React UI components
13 lines (12 loc) • 474 B
TypeScript
import { AnchorHTMLAttributes, FunctionComponent, PropsWithChildren } from 'react';
import { CommonButtonProps } from './Button';
type ButtonAnchorProps = CommonButtonProps & {
component?: FunctionComponent<PropsWithChildren<any>> | string;
} & AnchorHTMLAttributes<HTMLAnchorElement>;
/**
* @deprecated use Button with `component="a"` instead
* @param dataTestId
* @param props
*/
export declare const ButtonAnchor: FunctionComponent<ButtonAnchorProps>;
export {};