diff --git a/src/pages/test.tsx b/src/pages/test.tsx deleted file mode 100644 index bb53e0f2..00000000 --- a/src/pages/test.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { useState } from "react"; -import TextInputUI from "../components/ui/textInputUI"; -import { Margin } from "../components/ui"; - -export default function Test() { - const [inputValue, setInputValue] = useState(""); - - const handleInputChange = (event: any) => { - setInputValue(event.target.value); - }; - - const handleError = () => { - if (inputValue.length < 5) { - return true; - } else { - return false; - } - }; - - return ( - <> - -
- console.log("onBlur")} - error={handleError()} - placeholder="텍스트를 입력해주세요." - errorMessage="5글자 이상 입력해주세요." - message="5글자 이상 하셨군요!" - /> -
- - ); -}