X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/10ce16c28de952f6533ca3cc9df909269e3d2a53..9c2a0a5c92ca0e7e2a09a0f74705f94939d3e081:/src/components/dropdown-menu/dropdown-menu.tsx diff --git a/src/components/dropdown-menu/dropdown-menu.tsx b/src/components/dropdown-menu/dropdown-menu.tsx index 73b279b2..cd68d5ba 100644 --- a/src/components/dropdown-menu/dropdown-menu.tsx +++ b/src/components/dropdown-menu/dropdown-menu.tsx @@ -6,10 +6,12 @@ import * as React from 'react'; import Menu from '@material-ui/core/Menu'; import IconButton from '@material-ui/core/IconButton'; import { PopoverOrigin } from '@material-ui/core/Popover'; +import { Tooltip } from '@material-ui/core'; interface DropdownMenuProps { id: string; icon: React.ReactElement; + title: string; } interface DropdownMenuState { @@ -22,29 +24,30 @@ export class DropdownMenu extends React.Component - - {icon} - + + + {icon} + + {children}