BuilderIO / mitosis

Write components once, run everywhere. Compiles to React, Vue, Qwik, Solid, Angular, Svelte, and more.
https://mitosis.builder.io
MIT License
12.26k stars 540 forks source link

React Native - Styles not applying to <Text/> component #1514

Open dharveshmydeen15 opened 1 month ago

dharveshmydeen15 commented 1 month ago

I am interested in helping provide a fix!

Yes

Which generators are impacted?

Reproduction case

https://mitosis.builder.io/playground/?code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFAT0AD0iw4bEjmRN4JZADsAxjG6a4AWQCeAYQqRN6TTAAUYcmFQBKRBLhxtETangBtTRwQdAAaOAwYADkg9ABdOABeFAxsPHRbKmx0ADd0KmdJdzgodBhkKANbIo8AHhZgbIA%2Bao84GuBNMGQYFtbPVFQEhARevs8IJmgALmoSlioQ0Y9CQiW4bJwmZHQhwODVsdbvUwALHE0Acx2EWxzrGFcExvDS6ODb3JsOXCgrmA4Nlt0M4DmMeM1DjVUGBzv1BsM1l5JlAZlQ5gtRitGgAJdBMSYAQjgAElPLCoFo4IE9LkmMY4B04AAldA4XRhABq2zCmFp%2BDCAEUAO7AADWYXOLDgIHO9JA0AIZBiQugotQBJqPGh5whrU19SaRQKEkIQA

Expected Behaviour

Styles should apply for element also currently its applying only for

Actual Behaviour

Additional Information

No response

JerryWu1234 commented 3 weeks ago

I'll check this problem

JerryWu1234 commented 2 weeks ago
       <View >
        <Text style={styles.view1}>
          Hello! I can run natively in React, Vue, Svelte, Qwik, and many more
          frameworks!
        </Text>
      </View>

your expected is like this ? @dharveshmydeen15