const a = 1;
const c = 3;
export {a};
export const b = 2;
export default c;
import d, {a,b as e} from './Example';
console.log(a, e, d) ; //1, 2, 3
default로 선언된 내용은 {} 없이 받을 수 있고 변수명 달라도 됨.
하지만, default로 선언되지 않은 것들은 {} 안에서 무조건 보내진 이름 그대로 선언.
예) export default function DataRow()
=> import DataRow from '../xx'