Несколько экспорта в React
import App, { About, Contact } from './App';
Dead Dormouse
import App, { About, Contact } from './App';
// Default export (recommended)
export {default} from './MyClass'
// Default export with alias
export {default as d1} from './MyClass'
// In >ES7, it could be
export * from './MyClass'
// In >ES7, with alias
export * as d1 from './MyClass'
export About;
export Contact;