mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
docs: Calendar Custom Render - English Translation (#3265)
This commit is contained in:
parent
e76f604e25
commit
bf105e64c9
@ -18,11 +18,11 @@ import { Calendar } from 'antd';
|
||||
import moment from 'moment';
|
||||
|
||||
function dateCellRender(value) {
|
||||
return <div>自定义日数据 {value.date()}</div>;
|
||||
return <div>Custom date data {value.date()}</div>;
|
||||
}
|
||||
|
||||
function monthCellRender(value) {
|
||||
return <div>自定义月数据 {value.month()}</div>;
|
||||
return <div>Custom monthly data {value.month()}</div>;
|
||||
}
|
||||
|
||||
ReactDOM.render(
|
||||
|
Loading…
Reference in New Issue
Block a user