one
Version:
One is a React framework for web, iOS, and Android apps.
14 lines (11 loc) • 339 B
JavaScript
import { Slot } from "./Slot.mjs";
import { jsx } from "react/jsx-runtime";
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