You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
235 B

1 month ago
  1. const useFocus = (el) => {
  2. return {
  3. focus: () => {
  4. var _a, _b;
  5. (_b = (_a = el.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
  6. }
  7. };
  8. };
  9. export { useFocus };
  10. //# sourceMappingURL=index.mjs.map