View Source PhxLiveStorybook.Rendering.ComponentRenderer (phx_live_storybook v0.4.1)
Responsible for rendering your function & live components, for a given
PhxLiveStorybook.Variation
or PhxLiveStorybook.VariationGroup
.
Link to this section Summary
Functions
Renders a specific variation for a given component story. Can be a single variation or a variation group. Returns a rendered HEEx template.
Renders a variation or a group of variation for a component.
Link to this section Functions
Renders a specific variation for a given component story. Can be a single variation or a variation group. Returns a rendered HEEx template.
Link to this function
render_variation(fun_or_mod, story, variation, template, extra_assigns, opts)
View SourceRenders a variation or a group of variation for a component.