mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
Wohoo
This commit is contained in:
1 parent
23e69d1193
commit
2b94b56c92
11 files changed
+99
-41
No files matched your search
@@ -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>
|
||||
);
|
||||
};
|
||||
@@ -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>
|
||||
);
|
||||
};
|
||||
@@ -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>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user