Sha256: 000ca7d500e5f69f120189aa7b2511a6f49f6e19c65447cfb640e6cceaea5786
Contents?: true
Size: 761 Bytes
Versions: 3
Compression:
Stored size: 761 Bytes
Contents
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 ? ( <Alert variant="warning" className="katello-agent-deprecation-alert" ouiaId="katello-agent-deprecation-alert" isInline title={__('Katello-agent is deprecated and will be removed in Katello 4.10.')} actionClose={<AlertActionCloseButton ouiaId="katello-agent-alert-close-button" onClose={() => setKAgentAlertShowing(false)} />} /> ) : null; }; export default KatelloAgentDeprecationAlert;
Version data entries
3 entries across 3 versions & 1 rubygems