import PropTypes from '../_util/vue-types'; export default { prefixCls: PropTypes.string, inputPrefixCls: PropTypes.string, defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), placeholder: [String, Number], type: { default: 'text', type: String, }, name: String, size: PropTypes.oneOf(['small', 'large', 'default']), disabled: PropTypes.bool, readOnly: PropTypes.bool, 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, lazy: { default: true, type: Boolean, }, maxLength: PropTypes.number, loading: PropTypes.bool, };