import React from "react"; import { makeStyles, Typography, Grid, IconButton } from "@material-ui/core"; import { fade } from "@material-ui/core/styles/colorManipulator"; import SignalIcon from "@material-ui/icons/SignalCellular3Bar"; const useStyles = makeStyles((theme) => ({ root: { backgroundColor: fade(theme.palette.background.paper, 0.7), height: "25px", width: "100%", color: theme.palette.text.primary, zIndex: 2, }, item: { margin: "0 6px", }, text: { position: "relative", bottom: "2px", color: theme.palette.text.primary, }, icon: { padding: "4px", color: theme.palette.text.primary, }, })); interface INotification { key: string; icon: JSX.Element; } interface IProps { notifications?: INotification[]; } export const NotificationBar = ({ notifications = [] }: IProps) => { const classes = useStyles(); return ( {notifications.map((notification) => ( {notification.icon} ))} {`AT&T`} ); };