It's All Writing.

Writing makes you happy.

How to share styles at React Native

Environment

Code

gist.github.com

react-native-extended-stylesheet provides EStyleSheet.build which compile variables to reuse any style in EStyleSheet.create.
(e.g. $dark087)
And by using mobx, you can inject the StyleStore class into any component.

If you want to use only style's property value, you can access it as below.

someColorProperty={styleStore.styles.title.color}