Skip to content

#14_Letter City table#32

Open
AgataS23 wants to merge 1 commit intoa_masterfrom
14_Letter_city_table
Open

#14_Letter City table#32
AgataS23 wants to merge 1 commit intoa_masterfrom
14_Letter_city_table

Conversation

@AgataS23
Copy link
Copy Markdown
Collaborator

No description provided.

@AgataS23 AgataS23 self-assigned this Dec 17, 2022
<Box sx={{ flexGrow: 1, display: "flex", flexDirection: "column" }}>
<>
<Outlet />
<TableCellCities>{rows}</TableCellCities>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<TableCellCities>{rows}</TableCellCities>
<TableCellCities rows={rows} />

import TableCell from "@mui/material/TableCell";

interface TableCellCitiesProps {
children: Array<{ id: number; city: string }>;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
children: Array<{ id: number; city: string }>;
rows: Array<{ id: number; city: string }>;

Comment on lines +38 to +45
// const Test = () => {
// return (
// <>
// <TableCellCities>Krakow</TableCellCities>
// <TableCellCities>Rzeszow</TableCellCities>
// <TableCellCities>Warszawa</TableCellCities>
// </>
// );
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

można usunąć :D

<Box sx={{ flexGrow: 1, display: "flex", flexDirection: "column" }}>
<>
<Outlet />
<TableCellCities>{rows}</TableCellCities>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

w paths/pages/Letters.tsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants