Skip to content

Commit

Permalink
chore: add tooltip text to settings icon
Browse files Browse the repository at this point in the history
  • Loading branch information
w33ble committed May 20, 2019
1 parent e6867d9 commit 2a9b911
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import React from 'react';
import PropTypes from 'prop-types';
import { EuiFlexGroup, EuiFlexItem, EuiButtonIcon } from '@elastic/eui';
import { EuiFlexGroup, EuiFlexItem, EuiButtonIcon, EuiToolTip } from '@elastic/eui';
import { Popover } from '../../popover';
import { AutoRefreshControls } from './auto_refresh_controls';
import { KioskControls } from './kiosk_controls';
Expand All @@ -26,7 +26,9 @@ export const ControlSettings = ({
};

const popoverButton = handleClick => (
<EuiButtonIcon iconType="gear" aria-label="Control settings" onClick={handleClick} />
<EuiToolTip position="bottom" content="Control settings">
<EuiButtonIcon iconType="gear" aria-label="Control settings" onClick={handleClick} />
</EuiToolTip>
);

return (
Expand Down

0 comments on commit 2a9b911

Please sign in to comment.