diff --git a/src/components/Input/Input.tsx b/src/components/Input/Input.tsx index fd2437f..32ad620 100644 --- a/src/components/Input/Input.tsx +++ b/src/components/Input/Input.tsx @@ -85,6 +85,8 @@ type Props = { min?: number | string; max?: number | string; + + maxLength?: number; }; export const Input = forwardRef( @@ -108,6 +110,7 @@ export const Input = forwardRef( step, name, inputClassName, + maxLength, type = "text", min, max, @@ -155,6 +158,7 @@ export const Input = forwardRef( step={step} min={min} max={max} + maxLength={maxLength} />