export default { prefixCls: { default: 'ant-input', type: String, }, defaultValue: [String, Number], value: [String, Number], placeholder: [String, Number], type: { default: 'text', type: String, }, id: [String, Number], name: String, size: { validator (value) { return ['small', 'large', 'default'].includes(value) }, }, maxLength: String, disabled: { default: false, type: Boolean, }, readOnly: Boolean, // addonBefore: React.ReactNode, // addonAfter: React.ReactNode, // onPressEnter?: React.FormEventHandler; // onKeyDown?: React.FormEventHandler; // onChange?: React.ChangeEventHandler; // onClick?: React.FormEventHandler; // onFocus?: React.FormEventHandler; // onBlur?: React.FormEventHandler; // autoComplete: String; // prefix: React.ReactNode, // suffix: React.ReactNode, spellCheck: Boolean, autoFocus: Boolean, }