mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 23:59:12 +08:00
bf9eff66d7
* 🦄️ refactor(DatePicker,Calendar): dateRender,monthRender => cellRender (#41584) * refactor: dateRender => cellRender * feat: update snapshots * feat: update snapshots * docs: update docs * docs: update docs * docs: update docs * docs: update docs * feat: update test case * docs: update docs * feat: optimize code * feat: optimize code * feat: update test case * feat: update test case * test: fix lint error (#41596) (#41600) * test: fix lint error * chore: fix lint --------- * feat: Picker luxon support (#41580) * chore: add luxon english documentation * chore: add draft chinese documentation This documentation was auto-generated based on the english version so it is only a rough draft and will most likely need to be refined. * fix: improve documentation phrasing --------- Co-authored-by: kiner-tang(文辉) <1127031143@qq.com> Co-authored-by: Sylvain Boulade <sboulade@gmail.com>
201 B
201 B
zh-CN
使用 cellRender
可以自定义单元格的内容和样式。
en-US
We can customize the rendering of the cells in the calendar by providing a cellRender
function to DatePicker
.