diff options
Diffstat (limited to 'vnext/src/ui/Input.js')
-rw-r--r-- | vnext/src/ui/Input.js | 23 |
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); |