Merge branch 'master' into 14452-my-account
[arvados.git] / src / views-components / main-app-bar / notifications-menu.tsx
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import * as React from "react";
6 import { Badge, MenuItem } from '@material-ui/core';
7 import { DropdownMenu } from "~/components/dropdown-menu/dropdown-menu";
8 import { NotificationIcon } from '~/components/icon/icon';
9
10 export const NotificationsMenu = 
11     () =>
12         <DropdownMenu
13             icon={
14                 <Badge
15                     badgeContent={0}
16                     color="primary">
17                     <NotificationIcon />
18                 </Badge>}
19             id="account-menu"
20             title="Notifications">
21             <MenuItem>You are up to date</MenuItem>
22         </DropdownMenu>;
23