diff options
author | 2019-04-04 15:52:11 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:54 +0300 | |
commit | 7f5b0fcb8dea585c79d23e27b1e21e72456029e5 (patch) | |
tree | 2bcc70363eea3d67764a674d0d6f30850a982457 /vnext/src/components/Input.js | |
parent | bd144e40af14a6cb8206b67412d0658257b0c049 (diff) |
LoginButton using hooks, Input component
Diffstat (limited to 'vnext/src/components/Input.js')
-rw-r--r-- | vnext/src/components/Input.js | 9 |
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 |