File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed
Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,6 @@ <h1>Font Awesome examples</h1>
33< h3 > Icon as Object (with title attribute—inspect the DOM to see it)</ h3 >
44< fa-icon [icon] ="faCoffee " title ="Coffee: Best Drink Ever "> </ fa-icon >
55
6- < h3 > New v7 Icons</ h3 >
7- < div style ="display: flex; flex-direction: row; gap: 10px ">
8- < fa-icon [icon] ="faSpiral " [title] ="'Spiral' "> </ fa-icon >
9- < fa-icon [icon] ="faBusSide "> </ fa-icon >
10- < fa-icon [icon] ="faSeptagon "> </ fa-icon >
11- </ div >
12-
136< h3 > Icon looked up in library by name</ h3 >
147< p >
158 Possible after adding the < code > faUser</ code > icon from the < code > free-solid-svg-icons</ code > package to the library.
Original file line number Diff line number Diff line change @@ -11,16 +11,13 @@ import {
1111 faCog ,
1212 faEllipsisH ,
1313 faFighterJet ,
14- faFlag as solidFlag ,
1514 faHeart ,
1615 faMagic ,
1716 faSpinner ,
1817 faSquare ,
1918 faTimes ,
2019 faUser ,
21- faBusSide ,
22- faSpiral ,
23- faSeptagon ,
20+ faFlag as solidFlag ,
2421} from '@fortawesome/free-solid-svg-icons' ;
2522import { AlternatePrefixComponent } from './alternate-prefix.component' ;
2623
@@ -48,11 +45,6 @@ export class AppComponent {
4845 faHeart = faHeart ;
4946 faSpinner = faSpinner ;
5047
51- // V7 Icons
52- faBusSide = faBusSide ;
53- faSpiral = faSpiral ;
54- faSeptagon = faSeptagon ;
55-
5648 faDummy : IconDefinition = {
5749 prefix : 'fad' ,
5850 iconName : 'dummy' ,
You can’t perform that action at this time.
0 commit comments