From e6f0888dc7cbecd0fd186b3c3bd70e557a92413c Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Thu, 22 Nov 2018 13:02:55 +0300
Subject: Component styling in CSS
---
vnext/src/components/Button.js | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
(limited to 'vnext/src/components/Button.js')
diff --git a/vnext/src/components/Button.js b/vnext/src/components/Button.js
index 11887d41..4152108b 100644
--- a/vnext/src/components/Button.js
+++ b/vnext/src/components/Button.js
@@ -1,18 +1,9 @@
import React from 'react';
+import './Button.css';
+
export default function Button(props) {
return (
-
+
);
}
-
-const buttonStyle = {
- background: '#fff',
- fontSize: '12px',
- border: '1px solid #eee',
- color: '#888',
- cursor: 'pointer',
- display: 'inline-block',
- margin: '5px',
- padding: '2px 10px'
-};
--
cgit v1.2.3