Allow nested Unstyled usage or escape out of Unstyled #32783
donaldpipowitch
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Someone in our team wanted to embed a custom component inside MDX that is not affected by Storybook styles, but wrapped in a bigger layout.
Describe the solution you'd like
<Unstyled/>didn't fully work. It is explained in the documentation: It should be used as a top-level component and not wrapped in other elements, but there was no feedback. It would be nice if there would be an error/warning at runtime, when<Unstyled/>is not a direct child ofDocsContent.DocsContentis not exported however.Describe alternatives you've considered
Allow
<Unstyled/>to be nested and not only be used at top-level.Beta Was this translation helpful? Give feedback.
All reactions