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.
19 lines
409 B
19 lines
409 B
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = mapSelf;
|
|
|
|
var _react = _interopRequireDefault(require("react"));
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
function mirror(o) {
|
|
return o;
|
|
}
|
|
|
|
function mapSelf(children) {
|
|
// return ReactFragment
|
|
return _react.default.Children.map(children, mirror);
|
|
} |