Files
new-phone-who-dis/phone/src/apps/home/components/Home.tsx
T

17 lines
464 B
TypeScript

import React from 'react';
import { AppWrapper } from '../../../ui/components';
import { Box } from '@material-ui/core';
import { GridMenu } from '../../../ui/components/GridMenu';
import { useApps } from '../../../os/apps/hooks/useApps';
export const HomeApp = () => {
const { apps } = useApps();
return (
<AppWrapper>
<Box width='100%' mt={6} px={1}>
{apps && <GridMenu items={apps.preinstalled} />}
</Box>
</AppWrapper>
);
};