import PropTypes from '../_util/vue-types'; export default { prefixCls: { type: String, }, defaultValue: [String, Number], value: [String, Number], placeholder: [String, Number], type: { default: 'text', type: String, }, name: String, size: { validator(value) { return ['small', 'large', 'default'].includes(value); }, }, disabled: { default: false, type: Boolean, }, readOnly: Boolean, addonBefore: PropTypes.any, addonAfter: PropTypes.any, // onPressEnter?: React.FormEventHandler; // onKeyDown?: React.FormEventHandler; // onChange?: React.ChangeEventHandler; // onClick?: React.FormEventHandler; // onFocus?: React.FormEventHandler; // onBlur?: React.FormEventHandler; prefix: PropTypes.any, suffix: PropTypes.any, spellCheck: Boolean, autoFocus: Boolean, allowClear: Boolean, };