-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forward core StyleSheet properties #33
Comments
hi @mehcode !
this one I like! We can derive EStyleSheet from native StyleSheet. |
One small annoyance I have with my RN setup is I have a number of core components that you should not use when coming into one of my projects. Eg. you should not be using That's about as hard to communicate to the random developer as a core component being overridden and harder to maintain. |
Ok, I get your point. import {Text} from `./overriden-text'; |
@mehcode I don't like that at all. Importing Your text component, in my opinion, is completely different, as it's clear that you're requiring a custom component. |
Brilliant extension, thanks.
It'd be nice to be able to magically do:
I'm currently settling on this (until I figure out a nice way to do the above):
The problem is EStyleSheet is not a drop-in replacement for the core StyleSheet.
It'd be neat if
flatten
,harilineWidth
, etc. were exposed on EStyleSheet.The text was updated successfully, but these errors were encountered: