skartknet / Iconic

The ultimate icon picker for Umbraco backoffice
MIT License
7 stars 8 forks source link

Html Extension Render Icon is not working #7

Closed OmarAlkylaney closed 2 years ago

OmarAlkylaney commented 2 years ago

Dear All,

The Html Extension Render Icon is not yet working due the parameter passed parameter type HtmlHelper is not exist in .NET Core. Instead the code need to be IHtmlHelper. public static IHtmlContent RenderIcon(this IHtmlHelper helper, IHtmlContent icon, object htmlAttributes, params string[] extraClasses) {}

robertjf commented 2 years ago

@OmarAlkylaney HtmlHelper does indeed exist in .Net Core >= 5.x in the Microsoft.AspNetCore.Mvc.ViewFeatures namespace... however, this is a good pickup. Fix coming.

skartknet commented 2 years ago

Fixed on 3.1.5.