Skip to content

Commit e7817c5

Browse files
committed
revert: enterButton type
1 parent 0a5dd6f commit e7817c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/input/Search.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default {
2020
default: 'ant-input',
2121
type: String,
2222
},
23-
enterButton: PropTypes.any,
23+
enterButton: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.object]),
2424
},
2525
model: {
2626
prop: 'value',

0 commit comments

Comments
 (0)