Merge branch 'master' of github.com:Re-Ignited-Development/new-phone-who-dis into feature/twitter_likes

This commit is contained in:
erik-sn committed 2020-10-11 14:04:37 -04:00
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.
-1
View File
@@ -1 +0,0 @@
export * from './AppWrapper';
+1
View File
@@ -0,0 +1 @@
export * from "./AppWrapper";
File renamed without changes.
@@ -3,10 +3,10 @@ import { ContextMenu } from "../components/ContextMenu";
export const MapStringOptions = (current, onClick) => (string) => {
return {
selected: current === string,
selected: current === string,
label: string,
key: string,
onClick: () => onClick(string)
onClick: () => onClick(string),
};
};
File renamed without changes.
File renamed without changes.
+12
View File
@@ -0,0 +1,12 @@
export interface AppContentTypes {
children: any;
style?: any;
backdrop?: any;
onClickBackdrop?: any;
}
export interface AppWrapperTypes {
children: any;
style?: any;
handleClickAway?: any;
}