one
Version:
One is a new React Framework that makes Vite serve both native and web.
29 lines (28 loc) • 636 B
JavaScript
import { View, StyleSheet } from "react-native-web";
import { ViewSlot } from "./common.mjs";
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.mjs.map