For some scenarios, it may be beneficial to override the flex:1 to allow wrapping a dynamic container without eating all possible space. I.e. let the contents decide the size.
To allow configuration of this, we might as well pass through styling to allow even more configurations.
Big thanks for you project! I've only verified these changes in my own project, but it's also a fairly trivial change!
Let me know if you need anything else, or have opinions about the change request.
I ended up implementing this slightly differently. It has been released in 0.10.2, but I should mention that Drax 0.10.x has bumped the RN requirement to >=0.65.
For some scenarios, it may be beneficial to override the flex:1 to allow wrapping a dynamic container without eating all possible space. I.e. let the contents decide the size.
To allow configuration of this, we might as well pass through styling to allow even more configurations.
Big thanks for you project! I've only verified these changes in my own project, but it's also a fairly trivial change!
Let me know if you need anything else, or have opinions about the change request.
// Patrick