Last active
November 23, 2019 01:47
-
-
Save stevensacks/0a88e2aaedbb423021189f9e9ac51d91 to your computer and use it in GitHub Desktop.
Revisions
-
stevensacks revised this gist
Oct 29, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,4 @@ import far from './far'; import fas from './fas'; import {library} from '@fortawesome/fontawesome-svg-core'; library.add.apply(library, fas.concat(far)); -
stevensacks created this gist
Oct 29, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ # FontAwesomeIcon without using as To avoid dealing with duplicate names from different icon styles (solid, regular, etc.), just use `apply`! This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ import { faCircle, faCoffee, faExclamationTriangle, } from '@fortawesome/free-regular-svg-icons'; export default [ faCircle, faCoffee, faExclamationTriangle, ]; This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ import { faCircle, faCoffee, faExclamationTriangle, } from '@fortawesome/free-solid-svg-icons'; export default [ faCircle, faCoffee, faExclamationTriangle, ]; This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ import far from './far'; import fas from './fas'; import {library} from '@fortawesome/fontawesome-svg-core'; export default () => library.add.apply(library, fas.concat(far));