mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Contacts app!
This commit is contained in:
1 parent
3900b9fa83
commit
23e69d1193
10 files changed
+271
-11
No files matched your search
@@ -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>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user