UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

15 lines (12 loc) • 369 B
import { jsx } from "react/jsx-runtime"; import { Slot } from "./Slot.native.js"; function TabList(param) { var { asChild, ...props } = param; var Comp = asChild ? Slot : "nav"; return /* @__PURE__ */ jsx(Comp, { ...props }); } function isTabList(child) { return child.type === TabList; } export { TabList, isTabList }; //# sourceMappingURL=TabList.native.js.map