mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
120 in printWidth since rocky got md
This commit is contained in:
1 parent
f552c1212c
commit
d27aeb3b0e
90 files changed
+398
-1146
No files matched your search
@@ -1,15 +1,5 @@
|
||||
import React from 'react';
|
||||
import {
|
||||
makeStyles,
|
||||
Typography,
|
||||
Grid,
|
||||
IconButton,
|
||||
Slide,
|
||||
Paper,
|
||||
Box,
|
||||
List,
|
||||
Divider,
|
||||
} from '@material-ui/core';
|
||||
import { makeStyles, Typography, Grid, IconButton, Slide, Paper, Box, List, Divider } from '@material-ui/core';
|
||||
import SignalIcon from '@material-ui/icons/SignalCellular3Bar';
|
||||
import Battery90Icon from '@material-ui/icons/Battery90';
|
||||
import ArrowDropUpIcon from '@material-ui/icons/ArrowDropUp';
|
||||
@@ -66,13 +56,7 @@ const useStyles = makeStyles((theme) => ({
|
||||
export const NotificationBar = () => {
|
||||
const classes = useStyles();
|
||||
|
||||
const {
|
||||
icons,
|
||||
notifications,
|
||||
removeNotification,
|
||||
barUncollapsed,
|
||||
setBarUncollapsed,
|
||||
} = useNotifications();
|
||||
const { icons, notifications, removeNotification, barUncollapsed, setBarUncollapsed } = useNotifications();
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -87,12 +71,7 @@ export const NotificationBar = () => {
|
||||
>
|
||||
<Grid container item wrap="nowrap">
|
||||
{icons.map((notifIcon) => (
|
||||
<Grid
|
||||
item
|
||||
key={notifIcon.key}
|
||||
component={IconButton}
|
||||
className={classes.icon}
|
||||
>
|
||||
<Grid item key={notifIcon.key} component={IconButton} className={classes.icon}>
|
||||
{notifIcon.icon}
|
||||
</Grid>
|
||||
))}
|
||||
@@ -139,11 +118,7 @@ export const NotificationBar = () => {
|
||||
</List>
|
||||
</Box>
|
||||
<Box display="flex">
|
||||
<IconButton
|
||||
className={classes.collapseBtn}
|
||||
size="small"
|
||||
onClick={() => setBarUncollapsed(false)}
|
||||
>
|
||||
<IconButton className={classes.collapseBtn} size="small" onClick={() => setBarUncollapsed(false)}>
|
||||
<ArrowDropUpIcon />
|
||||
</IconButton>
|
||||
</Box>
|
||||
|
||||
@@ -1,13 +1,6 @@
|
||||
import React from 'react';
|
||||
import CloseIcon from '@material-ui/icons/Close';
|
||||
import {
|
||||
IconButton,
|
||||
ListItem,
|
||||
ListItemAvatar,
|
||||
ListItemText,
|
||||
makeStyles,
|
||||
Theme,
|
||||
} from '@material-ui/core';
|
||||
import { IconButton, ListItem, ListItemAvatar, ListItemText, makeStyles, Theme } from '@material-ui/core';
|
||||
import { INotification } from '../providers/NotificationsProvider';
|
||||
|
||||
const useStyles = makeStyles<Theme, { cantClose: boolean }>((theme) => ({
|
||||
|
||||
Reference in new issue
Block a user