System info detail for RedHat Cloud Services project.
npm install @redhat-cloud-services/frontend-components-inventory-general-infoThis package exports components to show system info page and reducers with actions to fetch and store data.
Do not use this package anymore, if you want to use general information detail you can use federated modules provided by inventory team
``JSX
import React from 'react';
import { useStore } from 'react-redux';
import AsyncComponent from '@redhat-cloud-services/frontend-components/AsyncComponent';
const GeneralInfo = () => {
const store = useStore();
return
module="./SystemDetail"
store={store}
/>;
};
export default GeneralInfo;
``Installation
With NPMbash`
npm i -S @redhat-cloud-services/frontend-components-inventory-general-info
With yarn
`bash``
yarn add @redhat-cloud-services/frontend-components-inventory-general-info
This package is dependent on @redhat-cloud-services/frontend-components-utilities, @redhat-cloud-services/frontend-components and @redhat-cloud-services/host-inventory-client will automatically install them trough direct dependencies.