@frontify/fondue
Version:
Design system of Frontify
12 lines (11 loc) • 637 B
JavaScript
import { jsx as e } from "react/jsx-runtime";
import { useListBoxSection as s } from "@react-aria/listbox";
const l = ({ ariaLabel: t, children: o }) => {
const { itemProps: i, groupProps: r } = s({ "aria-label": t });
return /* @__PURE__ */ e("li", { ...i, className: "tw-border-b tw-border-b-line last:tw-border-0", "data-test-id": "menu-block-divider", children: /* @__PURE__ */ e("ul", { ...r, className: "tw-py-2 tw-px-0 tw-m-0 tw-list-none", "data-test-id": "menu-item-list", children: o }) });
};
l.displayName = "FondueSelectMenuSection";
export {
l as SelectMenuSection
};
//# sourceMappingURL=SelectMenuSection.es.js.map