How to export default modules in index.js barrels
Use the following line:
export { default as MyModule } from 'src/MyModule'
Hope it suits your needs, cheers
Use the following line:
export { default as MyModule } from 'src/MyModule'
Hope it suits your needs, cheers