12345678910111213141516171819 |
- import { Component, EnvironmentInjector, inject } from '@angular/core';
- import { IonTabs, IonTabBar, IonTabButton, IonIcon, IonLabel } from '@ionic/angular/standalone';
- import { addIcons } from 'ionicons';
- import { home, trophy, person,pencil, book, gameController, create, calendar,chatbubbles} from 'ionicons/icons';
- @Component({
- selector: 'app-tabs',
- templateUrl: 'tabs.page.html',
- styleUrls: ['tabs.page.scss'],
- standalone: true,
- imports: [IonTabs, IonTabBar, IonTabButton, IonIcon, IonLabel],
- })
- export class TabsPage {
- public environmentInjector = inject(EnvironmentInjector);
- constructor() {
- addIcons({book,gameController,person,create,home,trophy,pencil,calendar,chatbubbles});
- }
- }
|