aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Input.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Input.js')
-rw-r--r--vnext/src/components/Input.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/vnext/src/components/Input.js b/vnext/src/components/Input.js
new file mode 100644
index 00000000..5c150ec3
--- /dev/null
+++ b/vnext/src/components/Input.js
@@ -0,0 +1,9 @@
+import React from 'react';
+
+import './Input.css';
+
+function Input({ name, value, ...rest }) {
+ return(<input class="input" name={name} value={value} {...rest} />)
+}
+
+export default React.memo(Input); \ No newline at end of file