import React from 'react';
import PropTypes from 'prop-types';
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
function SuccessMessage({
  url
}) {
  console.debug('Commit link:', url); // eslint-disable-line no-console

  return /*#__PURE__*/_jsxs("div", {
    children: ["Item saved.", ' ', /*#__PURE__*/_jsx("a", {
      href: url,
      target: "_blank",
      rel: "noreferrer",
      children: "Commit link"
    })]
  });
}
SuccessMessage.propTypes = {
  url: PropTypes.string.isRequired
};
export default SuccessMessage;
//# sourceMappingURL=SuccessMessage.js.map