From 4af6a41a8bfc9d5f8b90d3aa8bc96a804607dba0 Mon Sep 17 00:00:00 2001
From: Eug-VS <eug-vs@keemail.me>
Date: Sat, 8 Feb 2020 15:36:32 +0300
Subject: feat: add Button component

---
 src/index.tsx | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'src/index.tsx')

diff --git a/src/index.tsx b/src/index.tsx
index 0d05155..9d32585 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,7 +1,7 @@
 import React, { useState } from 'react';
 import ReactDOM from 'react-dom';
 
-import { makeStyles, Button, Link } from '@material-ui/core';
+import { makeStyles, Link } from '@material-ui/core';
 
 import {
   BenzinThemeProvider,
@@ -9,6 +9,7 @@ import {
   Window,
   ContentSection,
   SmartList,
+  Button,
 } from './lib';
 
 import icon from './assets/icon.svg';
@@ -48,13 +49,13 @@ const App: React.FC = () => {
             </p>
             {(index % 2 === 0)?
               (
-                <Button variant="contained" color="primary">
+                <Button color="primary">
                   primary
                 </Button>
               )
               :
               (
-                <Button variant="contained" color="secondary">
+                <Button color="secondary">
                   secondary
                 </Button>
               )
@@ -81,10 +82,10 @@ const App: React.FC = () => {
             <p>
               Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Pellentesque dapibus suscipit ligula.  Donec posuere augue in quam.  Etiam vel tortor sodales tellus ultricies commodo.  Suspendisse potenti.  Aenean in sem ac leo mollis blandit.  Donec neque quam, dignissim in, mollis nec, sagittis eu, wisi.  <Link href="#">Phasellus lacus.</Link> Etiam laoreet quam sed arcu.  Phasellus at dui in ligula mollis ultricies.  Integer placerat tristique nisl.  Praesent augue.  Fusce commodo.
             </p>
-            <Button variant="contained" color="secondary">
+            <Button color="secondary">
               secondary
             </Button>
-            <Button variant="contained" color="primary">
+            <Button color="primary">
               primary
             </Button>
           </ContentSection>
-- 
cgit v1.2.3

