mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Improve AppIcon
This commit is contained in:
1 parent
2b94b56c92
commit
205dcabf12
5 files changed
+40
-28
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user