{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../packages/hooks/use-focus/index.ts"],"sourcesContent":["import type { Ref } from 'vue'\n\nexport const useFocus = (\n  el: Ref<{\n    focus: () => void\n  } | null>\n) => {\n  return {\n    focus: () => {\n      el.value?.focus?.()\n    },\n  }\n}\n"],"mappings":";AAEA,MAAa,YACX,OAGG;AACH,QAAO,EACL,aAAa;AACX,KAAG,OAAO,SAAS;IAEtB"}