"use strict";

import React from "react";

interface ILinkProps {
  href?: string;
}

const Link: React.FC<ILinkProps> = ({ href, children }) => {
  return (
    <a role="button" className="alert-link" data-testid="honeyui-alert-link" href={href}>
      {children}
    </a>
  );
};

Link.displayName = "Alert Link";

export default Link;
