+ );
+};
+
+export default Button;
\ No newline at end of file
diff --git a/src/components/UI/Input/Input.js b/src/components/UI/Input/Input.js
new file mode 100644
index 0000000..cdbace1
--- /dev/null
+++ b/src/components/UI/Input/Input.js
@@ -0,0 +1,13 @@
+import React, {forwardRef} from 'react';
+
+const Input = forwardRef(({type, name, value, onChange, ...props}, ref) => {
+ console.log('render Input');
+
+ return (
+
+
+
+ );
+});
+
+export default Input;
\ No newline at end of file
diff --git a/src/components/Users/UserForm/UserForm.js b/src/components/Users/UserForm/UserForm.js
new file mode 100644
index 0000000..26a3ffa
--- /dev/null
+++ b/src/components/Users/UserForm/UserForm.js
@@ -0,0 +1,35 @@
+import React, {useRef} from 'react';
+
+import Input from "../../UI/Input/Input";
+import Button from "../../UI/Button/Button";
+
+const UserForm = () => {
+ console.log('render UserForm');
+
+ const nameRef = useRef('');
+ const usernameRef = useRef('');
+ const emailRef = useRef('');
+ const phoneRef = useRef('');
+
+ const onSubmitHandler = (e) => {
+ e.preventDefault();
+
+ console.log(nameRef.current.value)
+ console.log(usernameRef.current.value)
+ console.log(emailRef.current.value)
+ console.log(phoneRef.current.value)
+ }
+
+ return (
+
+ );
+};
+
+export default UserForm;
\ No newline at end of file
diff --git a/src/components/Users/Users.js b/src/components/Users/Users.js
new file mode 100644
index 0000000..d7b35a3
--- /dev/null
+++ b/src/components/Users/Users.js
@@ -0,0 +1,14 @@
+import React from 'react';
+import UserForm from "./UserForm/UserForm";
+
+const Users = () => {
+ console.log('render Users');
+
+ return (
+
+
+
+ );
+};
+
+export default Users;
\ No newline at end of file
diff --git a/src/index.js b/src/index.js
index d563c0f..eaa6def 100644
--- a/src/index.js
+++ b/src/index.js
@@ -6,9 +6,9 @@ import reportWebVitals from './reportWebVitals';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
-
+ //
-
+ //
);
// If you want to start measuring performance in your app, pass a function