@redhat-cloud-services/frontend-components-inventory-general-info
v3.4.0
Published
System info detail for RedHat Cloud Services project.
Downloads
35
Keywords
Readme
RedHat Cloud Services frontend components - inventory general info
This package exports components to show system info page and reducers with actions to fetch and store data.
!!!This package is deprecated!!!
Do not use this package anymore, if you want to use general information detail you can use federated modules provided by inventory team
import React from 'react';
import { useStore } from 'react-redux';
import AsyncComponent from '@redhat-cloud-services/frontend-components/AsyncComponent';
const GeneralInfo = () => {
const store = useStore();
return <AsyncComponent
appName="inventory"
module="./SystemDetail"
store={store}
/>;
};
export default GeneralInfo;
Installation
With NPM
npm i -S @redhat-cloud-services/frontend-components-inventory-general-info
With yarn
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.