import React, { useState } from 'react'; import { Alert, AlertActionCloseButton, } from '@patternfly/react-core'; import { translate as __ } from 'foremanReact/common/I18n'; const KatelloAgentDeprecationAlert = () => { const [kAgentAlertShowing, setKAgentAlertShowing] = useState(true); return kAgentAlertShowing ? ( setKAgentAlertShowing(false)} />} /> ) : null; }; export default KatelloAgentDeprecationAlert;