From 35adaf04bf66dc344bd50d66689b7354ef8e765b Mon Sep 17 00:00:00 2001 From: Alexander Matyushentsev Date: Mon, 16 Dec 2019 13:54:09 -0800 Subject: [PATCH] Add tooltip to version info (#2882) --- ui/src/app/app.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ui/src/app/app.tsx b/ui/src/app/app.tsx index 2e8d8db8c2..283db04671 100644 --- a/ui/src/app/app.tsx +++ b/ui/src/app/app.tsx @@ -1,4 +1,4 @@ -import {DataLoader, Layout, NavigationManager, Notifications, NotificationsManager, PageContext, Popup, PopupManager, PopupProps} from 'argo-ui'; +import {DataLoader, Layout, NavigationManager, Notifications, NotificationsManager, PageContext, Popup, PopupManager, PopupProps, Tooltip} from 'argo-ui'; import {createBrowserHistory} from 'history'; import * as PropTypes from 'prop-types'; import * as React from 'react'; @@ -175,7 +175,15 @@ export class App extends React.Component<{}, {popupProps: PopupProps; error: Err ) : ( services.version.version()}>{msg => msg.Version}}> + version={() => ( + services.version.version()}> + {msg => ( + + {msg.Version} + + )} + + )}> )