No default export of 'App.js' to render!

Hi,
when i try to run my project this error is appeared on snack
Hint : there is header.js file and app.js
i done the import and export needed in two files
what is the problem plz?
thanks alot

Expo already registers the component exported from App.js by default, so do this:

Get rid of the AppRegistry.registerComponent line from App.js and add the following:

export default Sample;

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.