Custom Layouts #24366
TheMikeyRoss
started this conversation in
Ideas
Custom Layouts
#24366
Replies: 1 comment 2 replies
-
|
I've been experimenting with using decorators to solve this but it becomes unwieldy as soon as you have a story that isn't supposed to be rendered inside the core layout because decorators can't be (as far as I can tell) disabled on a story-by-story basis |
Beta Was this translation helpful? Give feedback.
2 replies
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.
Currently there are 3 options for the layout:
is there anyway I can make my own custom layout that I can use for some stories (not globally) just like I'm currently doing with
but instead of
centeredI want to use my own "foo" layout.Is there anyway I can do that? if not I think it'd be a nice feature to add.
Describe the solution you'd like
I think in
.storybookwe can create our custom layouts and include it in thepreview.jsfile so that we can access it in each individual story.Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
no
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions