defmodule PhoenixDuskmoon.Component.Breadcrumb do @moduledoc """ render appbar """ use PhoenixDuskmoon.Component, :html @doc """ Generates webcomponent breadcrumb ## Example <.dm_breadcrumb> <:crumb>Menu1 <:crumb>Menu2 """ @doc type: :component attr(:id, :any, default: false, doc: """ html attribute id """ ) attr(:class, :any, default: "", doc: """ html attribute class """ ) slot(:crumb, required: true, doc: """ Render menu """ ) do attr(:id, :any) attr(:class, :string) attr(:to, :string) end def dm_breadcrumb(assigns) do ~H"""