import{useDomEvent as t}from"../events/use-dom-event.js";import{AnimationType as o}from"../render/utils/types.js";function i(i,e){var n=i.whileFocus;t(e,"focus",n?function(){var t;null===(t=e.animationState)||void 0===t||t.setActive(o.Focus,!0)}:void 0),t(e,"blur",n?function(){var t;null===(t=e.animationState)||void 0===t||t.setActive(o.Focus,!1)}:void 0)}export{i as useFocusGesture};
//# sourceMappingURL=use-focus-gesture.js.map
