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
There seems to be an icon attribute available in the social buttons, as explained in the documentation as: The SVG icon of the provider. But when entering a URL to an SVG file in that parameter, nothing changes, regardless of if the theme attribute is set or not. Is this feature meant for assigning custom icons?
The text was updated successfully, but these errors were encountered:
This isn't to provide an arbitrary SVG to set an icon of your own. Instead, it returns the SVG icon for the provider you pick. For example, you might fetch a button:
This will output the Facebook SVG icon, and the same for any other provider.
I suppose what you're wanting to do is provide your own icons to use alongside those other providers. I'll see if that'll be something we can do, but it does go a little against what the plugin is for. But I'm sure there are cases where you'll want to show your social provider buttons alongside maybe some custom buttons as well - and keep everything consistent.
Question
There seems to be an
icon
attribute available in the social buttons, as explained in the documentation as:The SVG icon of the provider.
But when entering a URL to an SVG file in that parameter, nothing changes, regardless of if thetheme
attribute is set or not. Is this feature meant for assigning custom icons?The text was updated successfully, but these errors were encountered: