"use client";
import { useMenuContext } from '../__chunks/VIIRIBF3.js';
import { useCompositeSeparator } from '../__chunks/TP7N7UIH.js';
import { createHook, forwardRef as forwardRef2, createElement } from '../__chunks/LMDWO4NN.js';
import { __objRest, __spreadValues } from '../__chunks/3YLGPPWQ.js';

// src/menu/menu-separator.tsx
var TagName = "hr";
var useMenuSeparator = createHook(
  function useMenuSeparator2(_a) {
    var _b = _a, { store } = _b, props = __objRest(_b, ["store"]);
    const context = useMenuContext();
    store = store || context;
    props = useCompositeSeparator(__spreadValues({ store }, props));
    return props;
  }
);
var MenuSeparator = forwardRef2(function MenuSeparator2(props) {
  const htmlProps = useMenuSeparator(props);
  return createElement(TagName, htmlProps);
});

export { MenuSeparator, useMenuSeparator };
//# sourceMappingURL=menu-separator.js.map
