OperationCode / operationcode_frontend

Front-end repository for live site. Please go to `front-end` repo to contribute instead.
https://operationcode.org
MIT License
101 stars 222 forks source link

Fix usage of IconCard on contacts page #902

Closed jjhampton closed 6 years ago

jjhampton commented 6 years ago

Description of changes

Fixes usage of IconCards on contacts page so the font-awesome icons display. With the changes introduced in #872, the fontAwesomeIcon prop that is passed to the IconCard component needs to be in camelCase, not PascalCase.

Also note that the correct iconType prop needs to be passed in to IconCard if the icon is in the 'fontawesome-free-brands' or 'fontawesome-free-regular' NPM package - defaulting to 'fontawesome-free-solid' if no prop passed in. (see iconCard.js)

My fault on this one, I overlooked this page when I submitted for #872 .

Issue Resolved

Fixes #901

Screenshot:

selection_024