Skip to content

Commit

Permalink
Подключил компонент AddItem.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeymorin committed Mar 11, 2023
1 parent d613471 commit d9355e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import Container from '@mui/material/Container';
import AppBar from '@mui/material/AppBar';
import Toolbar from '@mui/material/Toolbar';
import Typography from '@mui/material/Typography';
import Stack from '@mui/material/Stack';
import AddItem from './AddItem';
import './App.css';

function App() {
Expand All @@ -14,13 +16,16 @@ function App() {

return (
<Container>
<AppBar>
<AppBar position='static'>
<Toolbar>
<Typography variant='h6'>
Shopping List
</Typography>
</Toolbar>
</AppBar>
<Stack alignItems='center'>
<AddItem addItem={addItem} />
</Stack>
</Container>
);
}
Expand Down

0 comments on commit d9355e5

Please sign in to comment.