defmodule Storybook.Components.Tree do use PhoenixStorybook.Story, :component def function, do: &Doggo.tree/1 def folder_svg do """ """ end def paw_svg do """ """ end def like_svg do """ """ end def variations do [ %Variation{ id: :default, attributes: %{ label: "Dogs" }, slots: [ """ Breeds <:items> Golden Retriever Labrador Retriever Characteristics <:items> Playful Loyal """ ] }, %Variation{ id: :with_icons, attributes: %{ label: "Dogs" }, slots: [ """ #{folder_svg()} Breeds <:items> #{paw_svg()} Golden Retriever #{paw_svg()} Labrador Retriever #{folder_svg()} Characteristics <:items> #{paw_svg()} Playful #{paw_svg()} Loyal """ ] } ] end end