Add 'maxLength' prop to Input
This commit is contained in:
parent
3e0d7de2cd
commit
fd6ae83fe7
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const messages = defineMessages({
|
||||||
hidePassword: { id: 'input.password.hide_password', defaultMessage: 'Hide password' },
|
hidePassword: { id: 'input.password.hide_password', defaultMessage: 'Hide password' },
|
||||||
});
|
});
|
||||||
|
|
||||||
interface IInput extends Pick<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'required' | 'type'> {
|
interface IInput extends Pick<React.InputHTMLAttributes<HTMLInputElement>, 'maxLength' | 'onChange' | 'required' | 'type'> {
|
||||||
autoFocus?: boolean,
|
autoFocus?: boolean,
|
||||||
defaultValue?: string,
|
defaultValue?: string,
|
||||||
className?: string,
|
className?: string,
|
||||||
|
|
Loading…
Reference in a new issue