@@ -96,9 +96,9 @@ defmodule PhoenixIconify do
9696 <.icon name="hero-user-solid" />
9797
9898 """
99- attr :name , :string , required: true , doc: "Icon name (e.g., \" heroicons:user\" )"
100- attr :class , :string , default: nil , doc: "CSS classes"
101- attr :rest , :global , doc: "Additional SVG attributes"
99+ attr ( :name , :string , required: true , doc: "Icon name (e.g., \" heroicons:user\" )" )
100+ attr ( :class , :string , default: nil , doc: "CSS classes" )
101+ attr ( :rest , :global , doc: "Additional SVG attributes" )
102102
103103 def icon ( assigns ) do
104104 icon_data = get_icon ( assigns . name )
@@ -184,7 +184,10 @@ defmodule PhoenixIconify do
184184 # Private functions
185185
186186 defp handle_missing_icon ( normalized , original ) do
187- maybe_warn ( "Icon not found: #{ normalized } " <> if ( normalized != original , do: " (from #{ original } )" , else: "" ) )
187+ maybe_warn (
188+ "Icon not found: #{ normalized } " <>
189+ if ( normalized != original , do: " (from #{ original } )" , else: "" )
190+ )
188191
189192 if runtime_fetch_enabled? ( ) do
190193 fetch_icon_at_runtime ( normalized )
0 commit comments