dcm.SocialMediaIcon

The <dcm.SocialMediaIcon> tag allows more control over the appearance of <dcm.SocialMediaWidget> icons.

Attributes

  • For: Specifies which social media platform to link to (defined in config file.)

  • IconType: TODO

  • Icon: TODO

  • IconSize: Specifies which size the icon should display at.

Usage Notes

TODO notes

Examples

If you want more control over the appearance of <dcm.SocialMediaWidget> icons, list them as individual <SocialMediaIcon> children. Possible to have different backgrounds styles, different sizes, any icon - even those not recognized. Example:

<dcm.SocialMediaWidget id="genSocialLinks"> <dcm.SocialMediaIcon For="Facebook" IconType="simple" Icon="fab/facebook" IconSize="3x" /> <dcm.SocialMediaIcon For="Instagram" IconType="simple" Icon="fab/instagram" IconSize="3x" /> <dcm.SocialMediaIcon For="LinkedIn" IconType="simple" Icon="fab/linkedin" IconSize="3x" /> </dcm.SocialMediaWidget>