mirror of
https://github.com/swc-project/swc.git
synced 2025-01-05 12:03:47 +03:00
25 lines
742 B
JavaScript
25 lines
742 B
JavaScript
function _extends() {
|
|
_extends = Object.assign || function(target) {
|
|
for(var i = 1; i < arguments.length; i++){
|
|
var source = arguments[i];
|
|
for(var key in source){
|
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
target[key] = source[key];
|
|
}
|
|
}
|
|
}
|
|
return target;
|
|
};
|
|
return _extends.apply(this, arguments);
|
|
}
|
|
function Todo(prop) {
|
|
return(/*#__PURE__*/ React.createElement("div", null, prop.key.toString() + prop.todo));
|
|
}
|
|
function TodoList(param) {
|
|
var todos = param.todos;
|
|
return(/*#__PURE__*/ React.createElement("div", null));
|
|
}
|
|
var x;
|
|
/*#__PURE__*/ React.createElement(TodoList, _extends({
|
|
}, x));
|