aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Button.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-22 12:02:59 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commitc24420eee001707530bab841d998cc076a459708 (patch)
tree317fd7cbe215e7fac61963ee3198e0cffa29ba17 /vnext/src/components/Button.js
parent141599103c5b46921a18c33d72ee75518f6705b4 (diff)
Button component
Diffstat (limited to 'vnext/src/components/Button.js')
-rw-r--r--vnext/src/components/Button.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/vnext/src/components/Button.js b/vnext/src/components/Button.js
new file mode 100644
index 00000000..583f8e4b
--- /dev/null
+++ b/vnext/src/components/Button.js
@@ -0,0 +1,18 @@
+import React from 'react'
+
+export default function Button(props) {
+ return (
+ <button style={buttonStyle} {...props} />
+ )
+}
+
+const buttonStyle = {
+ background: '#fff',
+ fontSize: '12px',
+ border: '1px solid #eee',
+ color: '#888',
+ cursor: 'pointer',
+ display: 'inline-block',
+ margin: '5px',
+ padding: '2px 10px'
+} \ No newline at end of file