title: How to use array stored in another constant.js file in a component in reactjs
body: <p>I have a constant.js file which has all the static arrays for the application.
  I need to use this file content in another component and map its value to a dropdown.</p>