defmodule Storybook.Components.Modal do
use PhoenixStorybook.Story, :component
def function, do: &Doggo.modal/1
def template do
"""
<.psb-variation/>
"""
end
def variations do
[
%Variation{
id: :default,
attributes: %{id: "pet-modal"},
slots: [
"""
<:title>Show pet
""",
"""
My pet is called Johnny.
""",
"""
<:footer>
Close
"""
]
}
]
end
end