@redhat-cloud-services/frontend-components-inventory-general-info

3.4.0 • Public • Published

RedHat Cloud Services frontend components - inventory general info

npm version

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @redhat-cloud-services/frontend-components-inventory-general-info

Weekly Downloads

1

Version

3.4.0

License

Apache-2.0

Unpacked Size

246 kB

Total Files

92

Last publish

Collaborators

  • lesamo
  • jozefhartinger
  • karelhala
  • ryelo
  • kruai
  • hyperkid