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

Keep your dog hydrated during long walks by bringing along a portable water bowl.

" ] }, %Variation{ id: :with_icon, slots: [ "

Chewing on a bone can help keep your dog's teeth clean and strong.

", "<:icon>#{icon()}" ] }, %Variation{ id: :with_title, attributes: %{title: "Dog Care Tip"}, slots: [ "

Regular exercise is essential for keeping your dog healthy and happy.

" ] }, %Variation{ id: :with_title_and_icon, attributes: %{title: "Fun Dog Fact"}, slots: [ """

Did you know? Dogs have a sense of time and can get upset when their routine is changed.

""", "<:icon>#{icon()}" ] } ] end defp icon do """ """ end end