UNPKG

one

Version:

One is a new React Framework that makes Vite serve both native and web.

18 lines (17 loc) 384 B
import { Slot as SlotImpl } from "./Slot.mjs"; import { jsx } from "react/jsx-runtime"; const Slot = SlotImpl; function TabList({ asChild, ...props }) { const Comp = asChild ? Slot : "nav"; return /* @__PURE__ */jsx(Comp, { ...props }); } function isTabList(child) { return child.type === TabList; } export { TabList, isTabList }; //# sourceMappingURL=TabList.mjs.map