projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up main app bar and breadcrumbs code
[arvados-workbench2.git]
/
src
/
components
/
main-app-bar
/
dropdown-menu
/
dropdown-menu.tsx
diff --git
a/src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
b/src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
index 4ce2f596e5d783f781fce4aab1b70e2e8fe38df0..4f2b83af6591e6ab9d72d1e0d83914ff55bd4414 100644
(file)
--- a/
src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
+++ b/
src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
@@
-3,18
+3,15
@@
// SPDX-License-Identifier: AGPL-3.0
import * as React from 'react';
// SPDX-License-Identifier: AGPL-3.0
import * as React from 'react';
-import {
Button, Grid, StyleRulesCallback, WithStyles, Menu, MenuItem
, IconButton } from '@material-ui/core';
+import {
Menu
, IconButton } from '@material-ui/core';
import { PopoverOrigin } from '@material-ui/core/Popover';
import { PopoverOrigin } from '@material-ui/core/Popover';
-interface DropdownMenu
Data
Props {
+interface DropdownMenuProps {
id: string;
icon: React.ComponentType;
}
id: string;
icon: React.ComponentType;
}
-
-type DropdownMenuProps = DropdownMenuDataProps;
-
class DropdownMenu extends React.Component<DropdownMenuProps> {
state = {
class DropdownMenu extends React.Component<DropdownMenuProps> {
state = {