mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
Merge branch 'master' of github.com:Re-Ignited-Development/new-phone-who-dis into feature/twitter_likes
This commit is contained in:
commit
54d0637e15
145 files changed
+4944
-489
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import { Box, makeStyles, Backdrop, Paper } from "@material-ui/core";
|
||||
import { AppContentTypes } from "../interface/InterfaceUI";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
wrapper: {
|
||||
@@ -28,7 +29,7 @@ export const AppContent = ({
|
||||
backdrop,
|
||||
onClickBackdrop,
|
||||
...props
|
||||
}) => {
|
||||
}: AppContentTypes) => {
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<Paper className={classes.wrapper}>
|
||||
@@ -10,7 +10,7 @@ const useStyles = makeStyles((theme) => ({
|
||||
"& > *": {
|
||||
margin: theme.spacing(1),
|
||||
},
|
||||
padding: 0
|
||||
padding: 0,
|
||||
},
|
||||
avatar: {
|
||||
backgroundColor: ({ backgroundColor }) => backgroundColor,
|
||||
@@ -18,11 +18,14 @@ const useStyles = makeStyles((theme) => ({
|
||||
width: theme.spacing(7),
|
||||
height: theme.spacing(7),
|
||||
fontSize: theme.typography.h4.fontSize,
|
||||
}
|
||||
},
|
||||
}));
|
||||
|
||||
export const AppIcon = ({ name, icon, backgroundColor, color }) => {
|
||||
const classes = useStyles({ backgroundColor: backgroundColor || green[50], color: color || green[400] });
|
||||
const classes = useStyles({
|
||||
backgroundColor: backgroundColor || green[50],
|
||||
color: color || green[400],
|
||||
});
|
||||
return (
|
||||
<Button className={classes.root}>
|
||||
<Avatar className={classes.avatar}>
|
||||
File renamed without changes.
@@ -1,6 +1,12 @@
|
||||
import React from "react";
|
||||
import { AppWrapperTypes } from "../interface/InterfaceUI";
|
||||
|
||||
export const AppWrapper = ({ children, style, handleClickAway, ...props }) => {
|
||||
export const AppWrapper = ({
|
||||
children,
|
||||
style,
|
||||
handleClickAway,
|
||||
...props
|
||||
}: AppWrapperTypes) => {
|
||||
return (
|
||||
<div
|
||||
{...props}
|
||||
@@ -10,7 +16,7 @@ export const AppWrapper = ({ children, style, handleClickAway, ...props }) => {
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
display: "flex",
|
||||
position: 'relative',
|
||||
position: "relative",
|
||||
flexDirection: "column",
|
||||
...style,
|
||||
}}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1 +0,0 @@
|
||||
export * from './AppWrapper';
|
||||
@@ -0,0 +1 @@
|
||||
export * from "./AppWrapper";
|
||||
Reference in new issue
Block a user