Importing React native library in JavaScript Action

Hi ,  I am trying to use react native library inside Javascript Action. How should I import the node_modules for that JavaScript action ?     Example: Here I need to use the back handler of react native library. For which I need to install the library to the file folder using npm install.     
1 answers

I don’t know if you still  need it. Please refer this link on how to add react native dependency in JavaScript action