/// import { IconType } from 'react-icons/'; export interface LinkProps extends React.ComponentPropsWithRef<'a'> { href?: string; target?: string; RightIcon?: IconType | React.FunctionComponent>; LeftIcon?: IconType | React.FunctionComponent>; selected?: boolean; showExternalIcon?: boolean; disabled?: boolean; } type NewElementProps = { as?: Element; disabled?: boolean; }; export type PolymorphicLinkProps = React.PropsWithChildren> & Omit, keyof NewElementProps>; export {};