diff --git a/src/components/Tabs/Tabs.jsx b/src/components/Tabs/Tabs.jsx
index a305c7d8e3..abea04f8b8 100644
--- a/src/components/Tabs/Tabs.jsx
+++ b/src/components/Tabs/Tabs.jsx
@@ -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
&& (
diff --git a/src/components/Tooltip/Tooltip.jsx b/src/components/Tooltip/Tooltip.jsx
deleted file mode 100644
index c2309b443d..0000000000
--- a/src/components/Tooltip/Tooltip.jsx
+++ /dev/null
@@ -1,96 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-
-const toolTipContent = {
- padding: '10px',
- minWidth: '100px',
-};
-
-class Tooltip extends React.Component {
- transforms = {
- top: {
- bottom: '100%',
- left: '50%',
- transform: 'translate(-50%, -25%)'
- },
- bottom: {
- top: '100%',
- left: '50%',
- transform: 'translate(-50%, 25%)'
- },
- left: {
- top: '50%',
- right: '100%',
- transform: 'translate(-25%, -50%)'
- },
- right: {
- bottom: '100%',
- left: '50%',
- transform: 'translate(25%, 50%)'
- },
- };
-
- constructor (props) {
- super(props);
-
- this.state = {
- isDisplayed: false
- };
- }
-
- render () {
- const {
- children,
- message,
- position,
- } = this.props;
- const {
- isDisplayed
- } = this.state;
-
- if (message === '') {
- return null;
- }
- return (
- this.setState({ isDisplayed: false })}
- onBlur={() => this.setState({ isDisplayed: false })}
- >
- { isDisplayed
- && (
-
- )
- }
- this.setState({ isDisplayed: true })}
- onFocus={() => this.setState({ isDisplayed: true })}
- >
- { children }
-
-
- );
- }
-}
-
-Tooltip.propTypes = {
- children: PropTypes.element.isRequired,
- message: PropTypes.string.isRequired,
- position: PropTypes.string,
-};
-
-Tooltip.defaultProps = {
- position: 'top',
-};
-
-export default Tooltip;
diff --git a/src/components/Tooltip/index.js b/src/components/Tooltip/index.js
deleted file mode 100644
index d8851cb0a0..0000000000
--- a/src/components/Tooltip/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import Tooltip from './Tooltip';
-
-export default Tooltip;
diff --git a/src/pages/Organizations/screens/OrganizationAdd.jsx b/src/pages/Organizations/screens/OrganizationAdd.jsx
index 5f38a237f8..9a1f8e6c01 100644
--- a/src/pages/Organizations/screens/OrganizationAdd.jsx
+++ b/src/pages/Organizations/screens/OrganizationAdd.jsx
@@ -1,4 +1,4 @@
-import React from 'react';
+import React, { Fragment } from 'react';
import PropTypes from 'prop-types';
import { withRouter } from 'react-router-dom';
import { I18n, i18nMark } from '@lingui/react';
@@ -10,8 +10,12 @@ import {
TextInput,
Gallery,
Card,
+ CardHeader,
CardBody,
+ Button,
+ Tooltip,
} from '@patternfly/react-core';
+import { QuestionCircleIcon, TimesIcon } from '@patternfly/react-icons';
import { ConfigContext } from '../../../context';
import Lookup from '../../../components/Lookup';
@@ -108,11 +112,25 @@ class OrganizationAdd extends React.Component {
return (
-
-
-
-
-
+
+ {error ? error
: ''}
+
+
+
+ )}
+
);
}