You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The component exists under the Hidden title category and in the manager-head.html I have the following in order to hide the stories under Hidden from the sidebar (as it is just a part of the Accordion story and doesn't need to be shown, only .mdx is required):
By doing this, the .mdx sample above works and I can use the <Controls of="AccordionPanelStories.Basic" /> but I think that this could be supported by having a configuration property (e.g. 'hidden' or 'showInSidebar = false'). All of this of course is said in the context of only using the .mdx.` file for showing the components.
What do you say?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is your feature request related to a problem? Please describe.
Let's say I have an
Accordion.mdx
file inside of which is the following:Problematic thing is that I want to also show
<Controls />
of another Story as well.Currently I have this to work around the problem:
The component exists under the
Hidden
title category and in themanager-head.html
I have the following in order to hide the stories underHidden
from the sidebar (as it is just a part of the Accordion story and doesn't need to be shown, only.mdx
is required):By doing this, the
.mdx
sample above works and I can use the<Controls of="AccordionPanelStories.Basic" /> but I think that this could be supported by having a configuration property (e.g. 'hidden' or 'showInSidebar = false'). All of this of course is said in the context of only using the
.mdx.` file for showing the components.What do you say?
Describe the solution you'd like
Maybe:
Describe alternatives you've considered
Already explained.
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions