Files
nativewind/apps/example/app.js
2022-07-13 17:53:22 +10:00

19 lines
479 B
JavaScript

import { StatusBar } from "expo-status-bar";
import { Text, View } from "react-native";
import { NativeWindStyleSheet } from "nativewind";
NativeWindStyleSheet.setOutput({
default: "native",
});
export default function App() {
return (
<View className="flex-1 items-center justify-center">
<Text className="text-slate-800 active:text-red-500">
Open up App.js to start working on your app!
</Text>
<StatusBar style="auto" />
</View>
);
}