aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Panel.jsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Panel.jsx b/src/Panel.jsx
index 65832ea..1953ad4 100644
--- a/src/Panel.jsx
+++ b/src/Panel.jsx
@@ -80,6 +80,11 @@ class Panel extends Component {
80 this.setState({ currentSelectPanel }); 80 this.setState({ currentSelectPanel });
81 } 81 }
82 82
83 // https://github.com/ant-design/ant-design/issues/5829
84 close() {
85 this.props.onEsc();
86 }
87
83 render() { 88 render() {
84 const { 89 const {
85 prefixCls, className, placeholder, disabledHours, disabledMinutes, 90 prefixCls, className, placeholder, disabledHours, disabledMinutes,