You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
The string used on the site is fa-wpforms, but CssClassNameConverter expects wpforms.
I worked around this with code such as:
var faConverter = new CssClassNameConverter();
var converter = LambdaConverter.Create<string>(s =>
{
if (s.StartsWith("fa-"))
s = s.Substring(3);
return faConverter.Convert(s, typeof(FontAwesomeIcon), null, null);
});
But it would be better if the library did this.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For example, from http://fontawesome.io/icon/wpforms/:
The string used on the site is
fa-wpforms
, butCssClassNameConverter
expectswpforms
.I worked around this with code such as:
But it would be better if the library did this.
The text was updated successfully, but these errors were encountered: