UNPKG

one

Version:

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

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