@redhat-cloud-services/frontend-components-remediations
v3.2.13
Published
Remediations components for RedHat Cloud Services project.
Downloads
2,016
Keywords
Readme
RedHat Cloud Services frontend components - remediations
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
- Usage