Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Subcomponents doesn't show code preview in docs (v7) #20486

Open
LucasCaixeta opened this issue Jan 3, 2023 · 3 comments
Open

[Bug]: Subcomponents doesn't show code preview in docs (v7) #20486

LucasCaixeta opened this issue Jan 3, 2023 · 3 comments

Comments

@LucasCaixeta
Copy link

Describe the bug

Hello,

We created a component based on MUI modal, with subcomponents (Title, Content & ContentActions):
image

And created stories to show it like this one:
image

But, when I ran the storybook and went to docs and show code, I received this as return:
image

To Reproduce

No response

System

No response

Additional context

npx @mui/envinfo

System:
OS: macOS 12.6.2
Binaries:
Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
Yarn: Not Found
npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
Browsers:
Chrome: Not Found
Edge: Not Found
Firefox: Not Found
Safari: 16.2
npmPackages:
@emotion/react: ^11.10.5 => 11.10.5
@emotion/styled: ^11.10.5 => 11.10.5
@mui/base: 5.0.0-alpha.112
@mui/core-downloads-tracker: 5.11.2
@mui/material: ^5.11.2 => 5.11.2
@mui/private-theming: 5.11.2
@mui/styled-engine: 5.11.0
@mui/system: 5.11.2
@mui/types: 7.2.3
@mui/utils: 5.11.2
@types/react: ^18.x => 18.0.26
react: ^18.x => 18.2.0
react-dom: ^18.x => 18.2.0
typescript: ^4.9.4 => 4.9.4

@LucasCaixeta
Copy link
Author

@Pettrus

@shilman
Copy link
Member

shilman commented Jan 4, 2023

@integrayshaun @kasperpeulen did either of you see this while investigating MUI?

@LucasCaixeta can you please share the output of npx sb info?

@ShaunEvening
Copy link
Contributor

@shilman I haven't, no :(

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

No branches or pull requests

3 participants