Doggo.Storybook (Doggo v0.10.8)
View SourceGenerates Phoenix Storybook stories for the Doggo components.
Usage
In your story module, use Doggo.Storybook and pass the name of the module
in which you call the Doggo.Components macros and the name of the component
(not the macro name).
defmodule Storybook.Components.Accordion do
use PhoenixStorybook.Story, :component
use Doggo.Storybook, module: MyAppWeb.CoreComponents, name: :accordion
endYou can automatically generate story modules for all configured components
with mix dog.gen.stories.