I create a NPM package for a react-native project.
--- MyComponent.tsx
--- /styles/MyComponent.style.ts
I separated the file component from the style file.
But white screen and impossible to operate the application.
I create a NPM package for a react-native project.
--- MyComponent.tsx
--- /styles/MyComponent.style.ts
I separated the file component from the style file.
But white screen and impossible to operate the application.
I'm surprised. StyleSheet
not work in NPM package. We need to declare directly in styke
props file.