UNPKG

one

Version:

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

31 lines (30 loc) 705 B
import { jsx as _jsx } from "react/jsx-runtime"; import { StyleSheet, View } from "react-native"; import { ViewSlot } from "./common.native.js"; function TabList(param) { var { asChild, style, ...props } = param, Comp = asChild ? ViewSlot : View; return /* @__PURE__ */_jsx(Comp, { style: [styles.tabList, style], ...props }); } function isTabList(child) { return child.type === TabList; } var styles = StyleSheet.create({ tabList: { flexDirection: "row", justifyContent: "space-between" }, tabTrigger: { flexDirection: "row", justifyContent: "space-between" } }); export { TabList, isTabList }; //# sourceMappingURL=TabList.native.js.map