summary refs log tree commit diff
path: root/client/src/Components/Button.js
diff options
context:
space:
mode:
authorMelonai <einebeere@gmail.com>2020-05-20 21:16:34 +0200
committerGitHub <noreply@github.com>2020-05-20 21:16:34 +0200
commite9f542ddc8b8230418b1e6fc1656677453ea5a10 (patch)
treeefe84fba111c308370a89fba61dd9e8548a01085 /client/src/Components/Button.js
parenta00a8a867cae381982c7b8b77f07836ab4a504ed (diff)
parent58abd266b0b5ec37c5d7beea37abc2babd7d504a (diff)
downloadshorest-e9f542ddc8b8230418b1e6fc1656677453ea5a10.tar.zst
shorest-e9f542ddc8b8230418b1e6fc1656677453ea5a10.zip
Merge pull request #1 from Melonai/react-port 0.2.0
React port
Diffstat (limited to 'client/src/Components/Button.js')
-rw-r--r--client/src/Components/Button.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/client/src/Components/Button.js b/client/src/Components/Button.js
new file mode 100644
index 0000000..46c0c27
--- /dev/null
+++ b/client/src/Components/Button.js
@@ -0,0 +1,11 @@
+import React from 'react';
+
+function Button(props) {
+    return (
+        <div className="button-container">
+            <input type="submit" value={props.valid ? "→" : ""} className="button" id="btn" onClick={props.submit}/>
+        </div>
+    )
+}
+
+export default Button;
\ No newline at end of file