@lapidist/components
Version:
Lapidist components
14 lines (13 loc) • 552 B
TypeScript
import { default as React } from 'react';
import { IconProp } from '@fortawesome/fontawesome-svg-core';
import { BaseProps, SizeType } from '../types';
import { TextProps } from '../Text';
export interface LinkProps extends Omit<React.HTMLProps<HTMLAnchorElement>, 'size'>, TextProps {
readonly icon?: IconProp;
readonly size?: SizeType;
}
declare const Link: {
({ className, as, testId, size, icon, children, ...restProps }: BaseProps & LinkProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default Link;