added Material UI and some buttons
This commit is contained in:
parent
f364b9aed4
commit
17293afd1e
3 changed files with 13 additions and 5 deletions
13
src/App.tsx
13
src/App.tsx
|
|
@ -5,6 +5,12 @@ import { List } from "./wisher/list";
|
|||
import logo from "./logo.svg";
|
||||
import reactLogo from "./react.svg";
|
||||
|
||||
import Button from '@mui/material/Button';
|
||||
import Grid from '@mui/material/Grid';
|
||||
import BtnGrid from './buttons';
|
||||
|
||||
|
||||
|
||||
export function App() {
|
||||
return (
|
||||
<div className="app">
|
||||
|
|
@ -14,11 +20,8 @@ export function App() {
|
|||
</div>
|
||||
|
||||
<h1>Bun + React</h1>
|
||||
<p>
|
||||
Edit <code>src/App.tsx</code> and save to test HMR
|
||||
</p>
|
||||
<APITester />
|
||||
<List />
|
||||
<h2>Testing Apps</h2>
|
||||
<BtnGrid />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ import { useTranslation, withTranslation, Trans } from 'react-i18next';
|
|||
|
||||
import logo from "./logo.svg";
|
||||
import reactLogo from "./react.svg";
|
||||
import Button from '@mui/material/Button';
|
||||
|
||||
import button from "./modules/DummyButton"
|
||||
|
||||
export function App() {
|
||||
const { t, i18n } = useTranslation();
|
||||
|
|
@ -20,6 +23,8 @@ export function App() {
|
|||
Edit <code>src/App.tsx</code> and save to test HMR
|
||||
</p>
|
||||
<h1>{t ('statistics')}</h1>
|
||||
<button />
|
||||
<Button variant="contained">Temp Button</Button>
|
||||
<h1>{t ('yourvehicles')}</h1>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue