mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
Start working on button component
This commit is contained in:
+13
-1
@@ -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>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user