mirror of
https://github.com/ansible/awx.git
synced 2026-01-31 17:18:59 -03:30
switch to PatternFly Tooltip everywhere
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { Button } from '@patternfly/react-core';
|
||||
import { Button, Tooltip } from '@patternfly/react-core';
|
||||
import { TimesIcon } from '@patternfly/react-icons';
|
||||
import Tooltip from '../Tooltip';
|
||||
import './tabs.scss';
|
||||
|
||||
const Tabs = ({ children, labelText, closeButton }) => (
|
||||
@@ -17,7 +16,7 @@ const Tabs = ({ children, labelText, closeButton }) => (
|
||||
{closeButton
|
||||
&& (
|
||||
<Tooltip
|
||||
message={closeButton.text}
|
||||
content={closeButton.text}
|
||||
position="top"
|
||||
>
|
||||
<Link to={closeButton.link}>
|
||||
|
||||
Reference in New Issue
Block a user