tabs.page.ts 712 B

12345678910111213141516171819
  1. import { Component, EnvironmentInjector, inject } from '@angular/core';
  2. import { IonTabs, IonTabBar, IonTabButton, IonIcon, IonLabel } from '@ionic/angular/standalone';
  3. import { addIcons } from 'ionicons';
  4. import { home, trophy, person,pencil, book, gameController, create, calendar,chatbubbles} from 'ionicons/icons';
  5. @Component({
  6. selector: 'app-tabs',
  7. templateUrl: 'tabs.page.html',
  8. styleUrls: ['tabs.page.scss'],
  9. standalone: true,
  10. imports: [IonTabs, IonTabBar, IonTabButton, IonIcon, IonLabel],
  11. })
  12. export class TabsPage {
  13. public environmentInjector = inject(EnvironmentInjector);
  14. constructor() {
  15. addIcons({book,gameController,person,create,home,trophy,pencil,calendar,chatbubbles});
  16. }
  17. }