antd-mobile
Version:
<div align="center">
15 lines (14 loc) • 369 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.attachPropertiesToComponent = attachPropertiesToComponent;
function attachPropertiesToComponent(component, properties) {
const ret = component;
for (const key in properties) {
if (properties.hasOwnProperty(key)) {
ret[key] = properties[key];
}
}
return ret;
}
;