0

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.

HyperNovax
  • 116
  • 2
  • 12

1 Answers1

0

I'm surprised. StyleSheet not work in NPM package. We need to declare directly in styke props file.

HyperNovax
  • 116
  • 2
  • 12