This commit is contained in:
J Francisco Rader committed 2020-08-22 02:59:35 -03:00
1 parent 23e69d1193
commit 2b94b56c92
11 files changed
+99 -41

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import React from "react";
import { Box } from "@material-ui/core";
export const AppContent = ({ children, style, ...props }) => {
return (
<Box px={2} pt={1} style={{ width: '100%', ...props }} {...props}>
{children}
</Box>
);
};
+10
View File
@@ -0,0 +1,10 @@
import React from "react";
import { Typography, Box } from "@material-ui/core";
export const AppTitle = ({ children, style, ...props }) => {
return (
<Box px={2} pt={4} style={{ width: '100%', ...props }} {...props}>
<Typography paragraph variant="h4">{children}</Typography>
</Box>
);
};
+10 -2
View File
@@ -4,9 +4,17 @@ export const AppWrapper = ({ children, style, ...props }) => {
return (
<div
{...props}
style={{ width: "100%", height: "100%", display: "flex", ...style }}
style={{
padding: 0,
margin: 0,
width: "100%",
height: "100%",
display: "flex",
flexDirection: "column",
...style,
}}
>
<div style={{ padding: "1em" }}>{children}</div>
{children}
</div>
);
};