Huthaifa-Dev / project

Documentation comments not found for functions and classes JS-D1001
Documentation
Minor
a month ago2 years old
Documentation comment not found for arrow function reset
15    setIsTouched(true);
16  };
17
18  const reset = () => {19    setInputValue("");
20    setIsTouched(false);
21  };
Documentation comment not found for arrow function inputBlurHandler
11    setInputValue(event.target.value);
12  };
13
14  const inputBlurHandler = () => {15    setIsTouched(true);
16  };
17
Documentation comment not found for arrow function valueChangeHandler
 7  const isValid = validate(inputValue);
 8  const hasError = !isValid && isTouched;
 9
10  const valueChangeHandler = (event: React.ChangeEvent<HTMLInputElement>) => {11    setInputValue(event.target.value);
12  };
13
Documentation comment not found for arrow function useInput
 1import { useState } from "react";
 2
 3const useInput = (validate: (value: string) => boolean) => { 4  const [inputValue, setInputValue] = useState("");
 5  const [isTouched, setIsTouched] = useState(false);
 6
Documentation comment not found for arrow function SignInPage
 2import Blank from "../../layout/Blank";
 3import SignIn from "./SignIn";
 4
 5export const SignInPage: React.VFC = () => { 6  return (
 7    <Blank>
 8      <SignIn />