fix: Center each import icon and add a tooltip II (#14192)

This commit is contained in:
Lyndsi Kay Williams
2021-04-20 18:59:48 -05:00
committed by GitHub
parent 392d8a8107
commit a846015f4d
11 changed files with 252 additions and 17 deletions

View File

@@ -184,7 +184,15 @@ function DatabaseList({ addDangerToast, addSuccessToast }: DatabaseListProps) {
if (isFeatureEnabled(FeatureFlag.VERSIONED_EXPORT)) {
menuData.buttons.push({
name: <Icons.Import />,
name: (
<Tooltip
id="import-tooltip"
title={t('Import databases')}
placement="bottomRight"
>
<Icons.Import data-test="import-button" />
</Tooltip>
),
buttonStyle: 'link',
onClick: openDatabaseImportModal,
});