Add simple icons (#564)

This commit is contained in:
Kieran authored and GitHub committed 2025-01-14 12:53:35 -08:00
1 parent 40cde43be1
commit ca90da49f5
12 files changed
+109 -260

No files matched your search

@@ -700,7 +700,7 @@ defmodule PinchflatWeb.CoreComponents do
attr :class, :string, default: nil
attr :rest, :global
def icon(%{name: "hero-" <> _} = assigns) do
def icon(assigns) do
~H"""
<span class={[@name, @class]} {@rest} />
"""