(null);
+
+ const focusDatePicker = (e: MouseEvent) => {
+ e.preventDefault();
+ if (firstInputRef.current instanceof HTMLInputElement) {
+ firstInputRef.current.focus();
+ }
+ };
return (
@@ -103,6 +111,13 @@ export default function Test() {
console.log(event);
}}
>
+