diff options
Diffstat (limited to 'examples/common.js')
-rw-r--r-- | examples/common.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/common.js b/examples/common.js index 65350a6..6db5b5c 100644 --- a/examples/common.js +++ b/examples/common.js | |||
@@ -31937,6 +31937,11 @@ | |||
31937 | } | 31937 | } |
31938 | }; | 31938 | }; |
31939 | 31939 | ||
31940 | // https://github.com/ant-design/ant-design/issues/5829 | ||
31941 | Panel.prototype.close = function close() { | ||
31942 | this.props.onEsc(); | ||
31943 | }; | ||
31944 | |||
31940 | Panel.prototype.render = function render() { | 31945 | Panel.prototype.render = function render() { |
31941 | var _classNames; | 31946 | var _classNames; |
31942 | 31947 | ||