X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/aa1d8deaccc72c09fab378b19502b20791d16ae6..8360ba81b48f6883b453f13756432a3d599c3042:/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 e346eb84..bb661bc2 100644 --- a/src/components/dropdown-menu/dropdown-menu.tsx +++ b/src/components/dropdown-menu/dropdown-menu.tsx @@ -2,14 +2,16 @@ // // SPDX-License-Identifier: AGPL-3.0 -import * as React from 'react'; +import 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 { @@ -27,17 +29,19 @@ export class DropdownMenu extends React.Component - - {icon} - + + + {icon} + +