Files
new-phone-who-dis/phone/src/apps/example/components/ExampleApp.js
T
2020-09-27 01:56:26 +02:00

19 lines
496 B
JavaScript

import React from "react";
import { AppWrapper } from "../../../ui/components";
import { AppTitle } from "../../../ui/components/AppTitle";
import { AppContent } from "../../../ui/components/AppContent";
import { useApp } from "../../../os/apps/hooks/useApps";
export const ExampleApp = () => {
const example = useApp("EXAMPLE");
return (
<AppWrapper>
<AppTitle app={example} />
<AppContent>
<h1>This is an example</h1>
</AppContent>
</AppWrapper>
);
};