View Source PhxLiveStorybook.Rendering.ComponentRenderer (phx_live_storybook v0.2.0)

Responsible for rendering your function & live components, for a given PhxLiveStorybook.Variation.

Link to this section Summary

Functions

Render a live component, with or without block / slots.

Renders a variation of stateless function component, with or without block / slots.

Link to this section Functions

Link to this function

render_variation(module, variation, id)

View Source

Render a live component, with or without block / slots.

Link to this function

render_variation(module, function, variation, id)

View Source

Renders a variation of stateless function component, with or without block / slots.