defmodule Storybook.Components.Box do use PhoenixStorybook.Story, :component def function, do: &Doggo.box/1 def variations do [ %Variation{ id: :minimal, slots: [ "

This is a box.

" ] }, %Variation{ id: :title_action_footer, description: "With title, action, and footer", slots: [ "<:title>Profile", "

This is a box.

", """ <:action> Edit """, """ <:footer>

Last edited: 2023/12/26

""" ] }, %Variation{ id: :banner, description: "With banner", slots: [ "<:title>Profile", """ <:banner> """, "

This is a box.

", """ <:action> Edit """, """ <:footer>

Last edited: 2023/12/26

""" ] } ] end end