Improve AppIcon

This commit is contained in:
J Francisco Rader committed 2020-08-22 03:11:57 -03:00
1 parent 2b94b56c92
commit 205dcabf12
5 files changed
+40 -28

No files matched your search

+4 -4
View File
@@ -1,14 +1,14 @@
import React from "react";
import { AppIcon } from "./AppIcon";
import { AppIcon } from "../../../ui/components/AppIcon";
import { Grid } from "@material-ui/core";
import { Link } from "react-router-dom";
export const GridMenu = ({ apps }) => {
return (
<Grid container spacing={1}>
<Grid container>
{apps && apps.length && apps.map((app) => (
<Grid item key={app.name} component={Link} to="/contacts">
<AppIcon icon={app.icon} label={app.name} />
<Grid item xs={3} key={app.name} component={Link} to="/contacts">
<AppIcon {...app} />
</Grid>
))}
</Grid>