mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Add quick access and improve Apps config
This commit is contained in:
1 parent
6ae60b377c
commit
c149a1f49e
5 files changed
+115
-26
No files matched your search
@@ -1,5 +1,15 @@
|
||||
import React from 'react';
|
||||
import { IconButton } from '@material-ui/core';
|
||||
|
||||
export const NotificationIcon = ({ Icon }) => {
|
||||
return <Icon fontSize='small' />;
|
||||
interface INotificationIcon {
|
||||
icon: JSX.Element;
|
||||
onClick(e: any): void;
|
||||
}
|
||||
|
||||
export const NotificationIcon = ({ icon, onClick }: INotificationIcon) => {
|
||||
return (
|
||||
<IconButton size="small" onClick={onClick}>
|
||||
{icon}
|
||||
</IconButton>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user