Add a lower limit to duplicate tiles. (#2854)

* Add a limit to duplicate tiles.

* missed a change
This commit is contained in:
Will Hunt
2024-12-02 17:15:33 +00:00
committed by GitHub
parent a37c3bfb48
commit cc260811e2
2 changed files with 7 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ interface InputFieldProps {
defaultValue?: string;
placeholder?: string;
defaultChecked?: boolean;
min?: number;
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
}
@@ -91,6 +92,7 @@ export const InputField = forwardRef<
suffix,
description,
disabled,
min,
...rest
},
ref,
@@ -127,6 +129,7 @@ export const InputField = forwardRef<
checked={checked}
disabled={disabled}
aria-describedby={descriptionId}
min={min}
{...rest}
/>
)}