"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = Advice;

var _react = _interopRequireDefault(require("react"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function Advice(props) {
  var styles = props.styles,
      children = props.children,
      link = props.link;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "grid-component-advice",
    style: styles
  }, /*#__PURE__*/_react["default"].createElement("a", {
    href: link,
    target: "_blank",
    className: "grid-component-advice--link",
    rel: "noreferrer"
  }, children));
}