Files
angular-challenges/apps/angular/13-highly-customizable-css/src/app/page.component.ts
2024-05-12 12:18:12 +02:00

18 lines
553 B
TypeScript

/* eslint-disable @angular-eslint/component-selector */
import { Component } from '@angular/core';
import { TextStaticComponent } from './static-text.component';
import { TextComponent } from './text.component';
@Component({
selector: 'page',
standalone: true,
imports: [TextStaticComponent, TextComponent],
template: `
<static-text></static-text>
<static-text type="error"></static-text>
<static-text type="warning"></static-text>
<text [font]="15" color="blue">This is a blue text</text>
`,
})
export class PageComponent {}