📜  npm font awesome angular 12 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:28.841000             🧑  作者: Mango

代码示例2
import { Component } from '@angular/core';
import { faCoffee } from '@fortawesome/free-solid-svg-icons';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html'
})
export class AppComponent {
  faCoffee = faCoffee;
}