UNPKG

@payfit/unity-components

Version:

17 lines (16 loc) 547 B
import { TabPanel as e } from "../../../../../components/tabs/parts/TabPanel.js"; import { useContext as t } from "react"; import { jsx as n } from "react/jsx-runtime"; import { TabListStateContext as r } from "react-aria-components/Tabs"; //#region src/integrations/tanstack-router/components/tabs/parts/TabPanel.tsx function i({ children: i, id: a, ...o }) { let s = t(r)?.selectedKey ?? void 0, c = a ?? s; return /* @__PURE__ */ n(e, { ...o, id: c, children: i }); } i.displayName = "TabPanel"; //#endregion export { i as TabPanel };