aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Input.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-10-28 00:23:40 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commit9bd48005fda1d94a526e36bec256b56add65b28d (patch)
tree2bffeb7e3ec8b2e8ac6886cffae544771958e333 /vnext/src/ui/Input.js
parent40d411e516efee5531404725b45ab89d97172ce8 (diff)
use `react-hook-form` and fix tests
Diffstat (limited to 'vnext/src/ui/Input.js')
-rw-r--r--vnext/src/ui/Input.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/vnext/src/ui/Input.js b/vnext/src/ui/Input.js
deleted file mode 100644
index 2f01f0c6..00000000
--- a/vnext/src/ui/Input.js
+++ /dev/null
@@ -1,23 +0,0 @@
-import { memo } from 'react';
-
-import './Input.css';
-
-/**
- * @typedef {Object} InputProps
- * @property {string} name
- * @property {string} value
- * @property {string=} placeholder
- * @property {React.CSSProperties=} rest
- */
-
-/**
- * Input component
- * @param {InputProps} props
- */
-function Input({ name, value, ...rest }) {
- return (
- <input className="input" name={name} value={value} {...rest} />
- );
-}
-
-export default memo(Input);