-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Description
Attempted import error: 'OSCALStyle' is not exported from '@easydynamics/oscal-react-library' (imported as 'OSCALStyle').
ERROR in ./src/App.js 271:53-63
export 'OSCALStyle' (imported as 'OSCALStyle') was not found in '@easydynamics/oscal-react-library' (possible exports: OSCALCatalogLoader, OSCALComponentLoader, OSCALDrawerSelector, OSCALProfileLoader, OSCALSSPLoader)
ERROR in ./src/App.js 277:44-64
export 'OSCALPermanentDrawer' (imported as 'OSCALPermanentDrawer') was not found in '@easydynamics/oscal-react-library' (possible exports: OSCALCatalogLoader, OSCALComponentLoader, OSCALDrawerSelector, OSCALProfileLoader, OSCALSSPLoader)
ERROR in ./src/App.js 283:43-54
export 'OSCALAppBar' (imported as 'OSCALAppBar') was not found in '@easydynamics/oscal-react-library' (possible exports: OSCALCatalogLoader, OSCALComponentLoader, OSCALDrawerSelector, OSCALProfileLoader, OSCALSSPLoader)
Environment
No response
Steps to Reproduce
- Modified App.js by simply copies raw code from : https://github.com/EasyDynamics/oscal-react-library/blob/main/packages/oscal-viewer/src/App.js
- Create file GlobalStyles.jsx referencing: https://github.com/EasyDynamics/oscal-react-library/blob/main/packages/oscal-viewer/src/GlobalStyles.jsx
- import all libraries from : https://github.com/EasyDynamics/oscal-react-library/blob/main/packages/oscal-viewer/package.json
- Create folder images and themes similarly given on: https://github.com/EasyDynamics/oscal-react-library/tree/main/packages/oscal-viewer/src
Expected behavior
Should be able to compile successfully.
Actual Behavior
Failed to compile.
Additional Notes
No response