fix(input): add type safety for input reference handling

This commit is contained in:
Mauricio Siu
2026-01-12 09:49:13 -06:00
parent 8f95546535
commit 15b0ca7ab2
+1
View File
@@ -34,6 +34,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
const setRefs = React.useCallback(
(node: HTMLInputElement | null) => {
// @ts-ignore
inputRef.current = node;
if (typeof ref === "function") {
ref(node);