ant-design / ant-design/pro-components

🐛[BUG] footerRender中props参数TS类型错误

Open
#8,173 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🐛 bug 描述

footerRender 中props参数TS类型声明错误。

官方文档写的是:
props: ProLayoutProps,实际获取的数据也是。

但npm包中TS文件写的是:
props: HeaderViewProps

### © 版本信息

- @ant-design/pro-components:2.6.49
- @ant-design/pro-layout: 7.17.19

Contributor guide

Open the contributing guide

Research direction

The issue identifies the footerRender props type in the @ant-design/pro-components npm package and contrasts the documented ProLayoutProps type with the published HeaderViewProps declaration. Start by locating that TypeScript declaration; done means the footerRender props type matches the documented and observed ProLayoutProps type, with the relevant type checks or tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.