style: fix linting issues
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon 2026-01-06 11:08:28 +01:00
parent ff625c91c5
commit 935ef52c10
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
4 changed files with 117 additions and 47 deletions

View file

@ -692,10 +692,11 @@ defmodule MvWeb.CoreComponents do
"""
attr :name, :string, required: true
attr :class, :string, default: "size-4"
attr :rest, :global, include: ~w[aria-hidden]
def icon(%{name: "hero-" <> _} = assigns) do
~H"""
<span class={[@name, @class]} />
<span class={[@name, @class]} {@rest} />
"""
end