@fortawesome/free-brands-svg-icons#fab TypeScript Examples
The following examples show how to use
@fortawesome/free-brands-svg-icons#fab.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: manager.ts From obsidian-admonition with MIT License | 6 votes |
FONT_AWESOME_MAP = new Map(
[Object.values(fas), Object.values(far), Object.values(fab)]
.flat()
.map((i: IconDefinition) => {
return [
i.iconName,
{
name: i.iconName,
type: "font-awesome" as "font-awesome"
}
];
})
);
Example #2
Source File: index.tsx From gatsby-markdown-typescript-personal-website with MIT License | 5 votes |
/* add any additional icon to the library */
library.add(fab, faLaptopCode, faDrawPolygon, faEdit, faEdit, faBullhorn, faMapMarkerAlt, faPhone, faPaperPlane);
Example #3
Source File: Footer.tsx From website with MIT License | 5 votes |
library.add(fab, faCommentDots);
Example #4
Source File: SecondSection.tsx From website with MIT License | 5 votes |
library.add(fab,fas);
Example #5
Source File: index.ts From next-core with GNU General Public License v3.0 | 5 votes |
export function initializeLibrary(): void {
library.add(fas, fab);
}
Example #6
Source File: manager.ts From obsidian-admonition with MIT License | 5 votes |
/** Load Font Awesome Library */
library.add(fas, far, fab, faCopy);
Example #7
Source File: App.tsx From flect-chime-sdk-demo with Apache License 2.0 | 5 votes |
library.add(fas, far, fab);