You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
999 B
37 lines
999 B
"use strict"; |
|
|
|
Object.defineProperty(exports, "__esModule", { |
|
value: true |
|
}); |
|
|
|
var _propTypes = require("prop-types"); |
|
|
|
var _propTypes2 = _interopRequireDefault(_propTypes); |
|
|
|
var _react = require("react"); |
|
|
|
var _react2 = _interopRequireDefault(_react); |
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
|
|
|
var propTypes = { |
|
d: _propTypes2.default.string.isRequired, |
|
fill: _propTypes2.default.string.isRequired, |
|
transformX: _propTypes2.default.number.isRequired, |
|
transformY: _propTypes2.default.number.isRequired |
|
}; |
|
|
|
var defaultProps = {}; |
|
|
|
var QRCodeCell = function QRCodeCell(_ref) { |
|
var d = _ref.d, |
|
fill = _ref.fill, |
|
transformX = _ref.transformX, |
|
transformY = _ref.transformY; |
|
return _react2.default.createElement("path", { d: d, fill: fill, transform: "matrix(" + [1, 0, 0, 1, transformX, transformY] + ")" }); |
|
}; |
|
|
|
QRCodeCell.propTypes = propTypes; |
|
QRCodeCell.defaultProps = defaultProps; |
|
|
|
exports.default = QRCodeCell; |