When I try to use it in 'react-native' I get an error.
Error message:
"However, this package itself specifies a main module field that cannot be resolved."
Change '"main": "./lib/cjs/index.ts"' to '"main": "./lib/cjs/index.js"' in the library's "package.json" and it will work.
I write this in case someone else has the same problem as me.
thank you