export default withFetching(noticeAPI)(promoIter);
- это сокращение от
const _invisibleVariable_ = withFetching(noticeAPI)(promoIter);
export { _invisibleVariable_ as default };
Итак, учитывая ваш пример
export XYZ withFetching(noticeAPI)(promoIter)
, если вы хотите, чтобы XYZ
было именем, вы можете сделать
const XYZ = withFetching(noticeAPI)(promoIter);
export { XYZ };
или
export const XYZ = withFetching(noticeAPI)(promoIter);