X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/10ce16c28de952f6533ca3cc9df909269e3d2a53..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 73b279b2..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 { @@ -22,29 +24,30 @@ export class DropdownMenu extends React.Component - - {icon} - + + + {icon} + + {children}