import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["renderAs", "value"];
import React from 'react';
import QRCode from 'qrcode.react';

var QR = function QR(props) {
  var _props$renderAs = props.renderAs,
      renderAs = _props$renderAs === void 0 ? 'canvas' : _props$renderAs,
      value = props.value,
      rest = _objectWithoutProperties(props, _excluded);

  return /*#__PURE__*/React.createElement(QRCode, _extends({
    renderAs: renderAs,
    value: value
  }, rest));
};

export default QR;
//# sourceMappingURL=QRCode.js.map
