Skip to content

Broken code snippets for components in storybook #310

@pavinduLakshan

Description

@pavinduLakshan

Describe the issue:

Screenshot 2024-12-06 at 10 01 51

How to reproduce:

  • Navigate to storybook.
  • Go to a component spec and click on view code link at the bottom right.

Eg: https://wso2.github.io/oxygen-ui/react/?path=/docs/layout-app-shell--overview

Expected behavior:

Code should be rendered properly.

Additional context :

  • Affected Package:
    • @oxygen-ui/logger
    • @oxygen-ui/primitives
    • @oxygen-ui/react
    • @oxygen-ui/react-icons
  • Library Version: [e.g., 1.10.0, 2.0.0-alpha]
  • OS:
    • Windows
    • Linux
    • Mac
    • Other
  • Browser:
    • Google Chrome
    • Firefox
    • Safari
    • Microsoft Edge
    • Brave
    • Opera
    • Other

Optional Fields

Related issues:

Suggested labels:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working💅 storybookIssues related to Storybook.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions