Closed Knaackee closed 2 months ago
At first, thanks for your great work!
I have an Expo/Next.js app.
Next.js Styles are not applied on the react-native-web elements, but on <div/>s it's working.
react-native-web
<div/>
Expo The styles are getting applied (off course <div/>s don't work on native, but e.g., the Text gets styled)
Example Component:
import { Text, View } from "react-native"; export default function App() { return ( <View> <Text className="text-red-700 ">Welcome to Expo + Next.js 👋</Text> <div className="this-is-my-class text-3xl text-red-700">This is a div</div> </View> ); }
Clearly something config related. I played around the whole day.
Any idea?
@Knaackee I have the same problem, could you share the solution?
At first, thanks for your great work!
I have an Expo/Next.js app.
Next.js Styles are not applied on the
react-native-web
elements, but on<div/>
s it's working.Expo The styles are getting applied (off course
<div/>
s don't work on native, but e.g., the Text gets styled)Example Component:
Clearly something config related. I played around the whole day.
Any idea?