index.js 321 B

123456789101112131415
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. const useFocus = (el) => {
  4. return {
  5. focus: () => {
  6. var _a, _b;
  7. (_b = (_a = el.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
  8. }
  9. };
  10. };
  11. exports.useFocus = useFocus;
  12. //# sourceMappingURL=index.js.map