API Reference phx_live_storybook v0.1.0
modules
Modules
PhxLiveStorybook provides a storybook-like UI interface for your Phoenix LiveView components.
An entry designates any kind of content in your storybook. For now
only two kinds of entries are supported: component
and :live_component
, but
:page
and :example
will follow in later versions.
Responsible for rendering your components code snippet, for a given
PhxLiveStorybook.Variation
.
Responsible for rendering your function & live components, for a given
PhxLiveStorybook.Variation
.
Provides LiveView routing for storybook.
A variation is an example of how your component can be used.