defmodule Storybook.Components.Stack do use PhoenixStorybook.Story, :component def function, do: &Doggo.stack/1 def variations do [ %Variation{ id: :default, slots: [ """
Hello!
Bye!
""" ] }, %Variation{ id: :recursive, attributes: %{recursive: true}, slots: [ """
Hello!
Are you good boy?
Bye!
""" ] } ] end end