From 93ec8dc95298ebd8f6d4946549bc7cab942faff9 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Sat, 17 Jun 2017 17:35:51 -0700 Subject: [PATCH] isolate button style --- components/button.js | 22 +++++++++++++++++++++- components/toolbar.js | 27 +++------------------------ 2 files changed, 24 insertions(+), 25 deletions(-) diff --git a/components/button.js b/components/button.js index 4692443..298900a 100644 --- a/components/button.js +++ b/components/button.js @@ -1,5 +1,25 @@ import React from 'react' export default (props) => ( -
+
+ {props.title} + +
) diff --git a/components/toolbar.js b/components/toolbar.js index ff078d8..91e2ad1 100644 --- a/components/toolbar.js +++ b/components/toolbar.js @@ -2,6 +2,7 @@ import React from 'react' import Dropdown from './dropdown' import ColorPicker from './colorpicker' import Settings from './settings' +import Button from './button' const themes = [ { @@ -88,8 +89,8 @@ export default class extends React.Component { -
Copy Imgur Link
-
Save Image
+