import React from "react"; import { ReactElement } from "react"; export interface HyperlinkProps extends React.CSSProperties { children: string | ReactElement; icon?: ReactElement; onClick?: (e: React.MouseEvent) => void; href?: string; target?: string; } declare const Hyperlink: { ({ children, icon, onClick, href, target, ...rest }: HyperlinkProps): JSX.Element; defaultProps: { href: undefined; onClick: () => void; color: string; target: string; }; }; export default Hyperlink;