Complete button component

This commit is contained in:
Hazem Krimi
2021-04-12 22:01:42 +01:00
parent b5042682a3
commit 92ff6937fb
4 changed files with 77 additions and 17 deletions
+1 -13
View File
@@ -1,6 +1,4 @@
import { Route, Switch } from 'react-router-dom';
import { Button } from './components';
// import { Add } from './assets';
import GlobalStyles from './GlobalStyles';
const App = () => {
@@ -9,17 +7,7 @@ const App = () => {
<GlobalStyles />
<Switch>
<Route path='/' exact>
<div style={{ margin: '2rem', width: '95vw' }}>
<Button
color='client'
// size='big'
variant='outlined'
text='Button'
// fullWidth
// iconLeft={<Add />}
onClick={() => {}}
/>
</div>
<div style={{ margin: '2rem', width: '95vw' }}></div>
</Route>
</Switch>
</>