This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 238
support Footer #31
Labels
enhancement
New feature or request
Comments
新版本的footer 已经支持这种用法了。
需要删除默认的吗?对于用户来说总要写一次 footerRender |
应该暴露 Footer 而不是 DefaultFooter,不同之处是 Footer 没有默认内容。 |
|
这样就不是一个 break change 了。 我理解只要能加解决 自定义 Footer 的内容的 api,使用就会方便很多。 |
How can I modify this to change copyright and links?
Nothing I do to pass props to |
我这是哪里写错了? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
现在是通过下面两种方式提供 footer:
问题
方案
直接把 https://github.com/ant-design/ant-design-pro-layout/blob/master/src/GlobalFooter/index.tsx 对外暴露,default 内容移出。
兼容性
会是一个 break change,需要升级 pro-layout 大版本,并补齐相关 API 文档和 changelog。
The text was updated successfully, but these errors were encountered: