score:1

please rename header.jsx to header.js

be sure to put following line of code on top of your app.js:

import {header} from '/src/components/header.jsx'

be sure to put export in front of class header {..}

hope that helps ;-)


Related Query

More Query from same tag