"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

var _propTypes = _interopRequireDefault(require("prop-types"));

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

var Readable = function Readable(props) {
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _react["default"].Children.map(props.children, function (child) {
    return /*#__PURE__*/_react["default"].cloneElement(child, {
      'data-pie-readable': props["false"] === undefined
    });
  }));
};

Readable.propTypes = {
  children: _propTypes["default"].node,
  "false": _propTypes["default"].bool
};
var _default = Readable;
exports["default"] = _default;
//# sourceMappingURL=readable.js.map