import React from "react";
import styled from "styled-components";
import { Text, getColor } from "@netdata/netdata-ui";
const BaseAnchor = styled("a") `
  && {
    color: ${getColor("primary")};

    :hover {
      color: ${getColor("primary")};
    }

    :visited {
      color: ${getColor("accent")};
    }
  }
`;
const Anchor = ({ Component = Text, ...rest }) => (React.createElement(Component, Object.assign({ as: BaseAnchor }, rest)));
export default Anchor;
//# sourceMappingURL=index.js.map