-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
Description
What happened?
When no custom mapping is provided, the wrapped component will merge className and style as expected.
But when when custom mapping is provided, there seems to be no way to replicate this merging behaviour?
Steps to Reproduce
- call
withUniwindon some component providing custom mapping (or not) - Try to provide
classNameandstyletogether
If custom mapping is not provided, observe that className and style are merged.
If custom mapping is provided, (with className -> style mapping), style gets ignored.
If custom mapping is provided, (without className -> style mapping), className does not exist in the wrapped component, even provided is ignored.
Snack or Repository Link
https://github.com/ycmjason/uniwind-playground/tree/reproduction-with-unistyles
Uniwind version
1.0.5
React Native Version
0.81.5
Platforms
Android, iOS
Expo
Yes
Additional information
- I've searched for similar issues in this repository and found none
Reactions are currently unavailable