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.
16 lines
321 B
16 lines
321 B
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
const useFocus = (el) => {
|
|
return {
|
|
focus: () => {
|
|
var _a, _b;
|
|
(_b = (_a = el.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
|
|
}
|
|
};
|
|
};
|
|
|
|
exports.useFocus = useFocus;
|
|
//# sourceMappingURL=index.js.map
|