16 lines
		
	
	
		
			321 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			321 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| '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
 |