Contacts app!

This commit is contained in:
J Francisco Rader committed 2020-08-22 02:23:17 -03:00
1 parent 3900b9fa83
commit 23e69d1193
10 files changed
+271 -11

No files matched your search

+7 -5
View File
@@ -1,14 +1,16 @@
import React from "react";
import { AppIcon } from "./AppIcon";
import { Grid } from "@material-ui/core";
import { Link } from "react-router-dom";
export const GridMenu = ({ apps }) => {
return (
<div style={{ display: "flex" }}>
<Grid container spacing={6}>
{apps.map((app) => (
<div style={{ flex: '1 1 20%', }}>
<AppIcon icon={app.icon} label={app.name} />
</div>
<Grid item component={Link} to="/contacts">
<AppIcon icon={app.icon} label={app.name} />
</Grid>
))}
</div>
</Grid>
);
};