Different type of import in React Native?
When you export your components/things like this
export class Foo extends Component {…
you have to import it like this
import {Foo} from './foo.js'
When you export as default, like here
export default class Bar extends Component {…
you can import it like this
import Bar from './bar.js'
You may, of course, have only one default export per file.