Skip to content

Commit a575d3e

Browse files
committed
fix type
1 parent 987ab91 commit a575d3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/input/Search.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import inputProps from './inputProps'
66
import Button from '../button'
77
import { cloneElement } from '../_util/vnode'
88
import { getOptionProps, getComponentFromProp } from '../_util/props-util'
9-
import PropsType from '../_util/vue-types'
9+
import PropTypes from '../_util/vue-types'
1010

1111
export default {
1212
name: 'InputSearch',
@@ -20,7 +20,7 @@ export default {
2020
default: 'ant-input',
2121
type: String,
2222
},
23-
enterButton: PropsType.oneOfType([PropsType.bool, PropsType.string, PropsType.object]),
23+
enterButton: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.object]),
2424
},
2525
computed: {
2626
},

0 commit comments

Comments
 (0)