one
Version:
One is a new React Framework that makes Vite serve both native and web.
20 lines (19 loc) • 482 B
JavaScript
var StyleSheet = {
create: function (styles) {
return styles;
},
flatten: function (style) {
return Array.isArray(style) ? Object.assign({}, ...style.filter(Boolean)) : style || {};
}
},
Platform = {
OS: "web",
select: function (obj) {
return obj.web || obj.default;
}
},
View = "View",
Text = "Text",
Pressable = "Pressable";
export { Platform, Pressable, StyleSheet, Text, View };
//# sourceMappingURL=react-native.js.map