Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Export error : OSCALStyle, OSCALPermanentDrawer, OSCALAppBar #982

Description

@adityajidhonde

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

  1. Modified App.js by simply copies raw code from : https://github.com/EasyDynamics/oscal-react-library/blob/main/packages/oscal-viewer/src/App.js
  2. Create file GlobalStyles.jsx referencing: https://github.com/EasyDynamics/oscal-react-library/blob/main/packages/oscal-viewer/src/GlobalStyles.jsx
  3. import all libraries from : https://github.com/EasyDynamics/oscal-react-library/blob/main/packages/oscal-viewer/package.json
  4. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions