diff --git a/components/input/Search.jsx b/components/input/Search.jsx index ccaf75e6f..f62f07bcf 100644 --- a/components/input/Search.jsx +++ b/components/input/Search.jsx @@ -20,7 +20,7 @@ export default { default: 'ant-input', type: String, }, - enterButton: PropTypes.any, + enterButton: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.object]), }, model: { prop: 'value',