refactor(HeroPanel): 添加模块入口文件
- 统一导出主组件、常量、工具函数、表格渲染器 - 支持 import HeroPanel from './HeroPanel' 和模块化导入 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
12
src/views/Community/components/HeroPanel/index.js
Normal file
12
src/views/Community/components/HeroPanel/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// HeroPanel 模块入口
|
||||
// 导出主组件
|
||||
export { default } from '../HeroPanel';
|
||||
|
||||
// 导出常量
|
||||
export * from './constants';
|
||||
|
||||
// 导出工具函数
|
||||
export * from './utils';
|
||||
|
||||
// 导出表格渲染器
|
||||
export * from './columns';
|
||||
Reference in New Issue
Block a user