You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
622 B

---
order: 10
title:
zh-CN: 额外的页脚
en-US: Extra Footer
---
## zh-CN
在浮层中加入额外的页脚,以满足某些定制信息的需求。
## en-US
Render extra footer in panel for customized requirements.
````jsx
import { DatePicker } from 'antd';
const { RangePicker } = DatePicker;
ReactDOM.render(
<div>
<DatePicker renderExtraFooter={() => 'extra footer'} />
<DatePicker renderExtraFooter={() => 'extra footer'} showTime />
<RangePicker renderExtraFooter={() => 'extra footer'} />
<RangePicker renderExtraFooter={() => 'extra footer'} showTime />
</div>
, mountNode);
````