Start working on button component

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