在'./src/hoc/SectionWrapper.jsx'中,确保导出项命名为'SectionWrapper'。示例代码如下:
import React from 'react';
const SectionWrapper = (Component) => {
const wrapper = (props) => (
);
return wrapper;
}
export default SectionWrapper; // 确保导出项名称为'SectionWrapper'