Browse Source

docs: 📝 onOpenChange argument name

pull/22353/head
afc163 5 years ago
committed by 偏右
parent
commit
b33c1d5d88
  1. 2
      components/date-picker/index.en-US.md
  2. 2
      components/date-picker/index.zh-CN.md

2
components/date-picker/index.en-US.md

@ -63,7 +63,7 @@ The following APIs are shared by DatePicker, YearPicker, MonthPicker, RangePicke
| bordered | whether has border style | Boolean | true | |
| suffixIcon | The custom suffix icon | ReactNode | - | |
| style | to customize the style of the input box | object | {} | |
| onOpenChange | a callback function, can be executed whether the popup calendar is popped up or closed | function(status) | - | |
| onOpenChange | a callback function, can be executed whether the popup calendar is popped up or closed | function(open) | - | |
| onPanelChange | callback when picker panel mode is changed | function(value, mode) | - | |
| inputReadOnly | Set the `readonly` attribute of the input tag (avoids virtual keyboard on touch devices) | boolean | false | |

2
components/date-picker/index.zh-CN.md

@ -65,7 +65,7 @@ import 'moment/locale/zh-cn';
| bordered | 是否有边框 | Boolean | true | |
| suffixIcon | 自定义的选择框后缀图标 | ReactNode | - | |
| style | 自定义输入框样式 | object | {} | |
| onOpenChange | 弹出日历和关闭日历的回调 | function(status) | 无 | |
| onOpenChange | 弹出日历和关闭日历的回调 | function(open) | 无 | |
| onPanelChange | 日历面板切换的回调 | function(value, mode) | - | |
| inputReadOnly | 设置输入框为只读(避免在移动设备上打开虚拟键盘) | boolean | false | |

Loading…
Cancel
Save