12 lines
		
	
	
		
			235 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			235 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const useFocus = (el) => {
 | 
						|
  return {
 | 
						|
    focus: () => {
 | 
						|
      var _a, _b;
 | 
						|
      (_b = (_a = el.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
 | 
						|
    }
 | 
						|
  };
 | 
						|
};
 | 
						|
 | 
						|
export { useFocus };
 | 
						|
//# sourceMappingURL=index.mjs.map
 |