diff --git a/awx/ui_next/src/components/FieldWithPrompt/FieldWithPrompt.jsx b/awx/ui_next/src/components/FieldWithPrompt/FieldWithPrompt.jsx index 6328c9f26a..8932c7cbe4 100644 --- a/awx/ui_next/src/components/FieldWithPrompt/FieldWithPrompt.jsx +++ b/awx/ui_next/src/components/FieldWithPrompt/FieldWithPrompt.jsx @@ -1,16 +1,10 @@ import React from 'react'; -import { bool, func, node, string } from 'prop-types'; +import { bool, node, string } from 'prop-types'; import { withI18n } from '@lingui/react'; import { t } from '@lingui/macro'; -import { Tooltip } from '@patternfly/react-core'; -import { CheckboxField } from '@components/FormField'; -import { QuestionCircleIcon as PFQuestionCircleIcon } from '@patternfly/react-icons'; +import { CheckboxField, FieldTooltip } from '@components/FormField'; import styled from 'styled-components'; -const QuestionCircleIcon = styled(PFQuestionCircleIcon)` - margin-left: 10px; -`; - const FieldHeader = styled.div` display: flex; justify-content: space-between; @@ -33,9 +27,7 @@ function FieldWithPrompt({ label, promptId, promptName, - promptValidate, tooltip, - tooltipMaxWidth, }) { return (