RedHatInsights/insights-rbac-ui

View on GitHub
src/smart-components/myUserAccess/bundles/application_services.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import { EmptyState, EmptyStateBody, EmptyStateIcon, List, ListItem, EmptyStateHeader } from '@patternfly/react-core';
import { CogsIcon } from '@patternfly/react-icons';
import { useIntl } from 'react-intl';
import messages from '../../../Messages';
// import RhelBundle from './rhel';

import './MUABundles.scss';

// eslint-disable-next-line no-unused-vars
const ApplicationServices = () => {
  const intl = useIntl();
  return (
    <EmptyState variant="lg" className="rbac-m-myUserAccess-bundle-emptyState">
      <EmptyStateHeader
        titleText={<>{intl.formatMessage(messages.appServicesNotManaged)}</>}
        icon={<EmptyStateIcon icon={CogsIcon} />}
        headingLevel="h4"
      />
      <EmptyStateBody>
        <List className="rbac-m-myUserAccess-bundle-emptyState-list">
          <ListItem>{intl.formatMessage(messages.allUsersViewEverything)}</ListItem>
          <ListItem>{intl.formatMessage(messages.actionsOnClustersPermissions)}</ListItem>
        </List>
      </EmptyStateBody>
    </EmptyState>
  );
};

export default ApplicationServices;