UNPKG

respond-framework

Version:
21 lines (20 loc) 382 B
"use strict"; 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;