@redhat-cloud-services/frontend-components-remediations

3.2.12 • Public • Published

RedHat Cloud Services frontend components - remediations

npm version

This package exports components to show remediations dialog, button and also export API to be used directly trough this package.

Installation

With NPM

npm i -S @redhat-cloud-services/frontend-components-remediations

With yarn

yarn add @redhat-cloud-services/frontend-components-remediations

This package is dependent on @redhat-cloud-services/frontend-components-utilities and @redhat-cloud-services/frontend-components it will automatically install them trough direct dependencies.

Migration guide v2 -> v3

Import paths

Absolute import paths have changed. Do not reference CJS or EMS or the file extensions in your import paths

-import RemediationButton from '@redhat-cloud-services/frontend-components-remediations/esm/RemediationButton';
-import RemediationButton from '@redhat-cloud-services/frontend-components-remediations/esm/RemediationButton.js';
+import RemediationButton from '@redhat-cloud-services/frontend-components-remediations/RemediationButton';

CSS imports

It is no longer required to import styles. CSS is import automatically with the javascript

-import '@redhat-cloud-services/frontend-components-remediations/index.css';

Documentation Links

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @redhat-cloud-services/frontend-components-remediations

    Weekly Downloads

    19

    Version

    3.2.12

    License

    Apache-2.0

    Unpacked Size

    17.8 kB

    Total Files

    10

    Last publish

    Collaborators

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