respond-framework
Version:
create as fast you think
21 lines (20 loc) • 382 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
const createNodeMock = el => {
if (el.type === 'TextInput') {
return {
focus: () => {},
blur: () => {}
};
}
if (el.type === 'ScrollView') {
return {
scrollTo() {}
};
}
return null;
};
var _default = exports.default = createNodeMock;