arvinxx / dumi-theme-antd-style

dumi-theme for antd-style site
https://dumi-theme-antd-style.arvinx.com
MIT License
76 stars 37 forks source link

如何关闭Footer? #7

Closed owenchen1004 closed 1 year ago

owenchen1004 commented 1 year ago

请问在站点模式中的dumi项目里导入此包,如何关闭Footer呢?

arvinxx commented 1 year ago

可以自定义 footer ,因为footer组件里会支持图标等react组件,因此footer column 的配置项没法做在themeConfig。需要引入组件然后自行传 props。

这块文档还没写,可以直接参看 src/slots/Footer 的写法: https://github.com/arvinxx/dumi-theme-antd-style/blob/master/src/slots/Footer/index.tsx

arvinxx commented 1 year ago

文档已补充: 自定义 Footer

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 0.13.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: