mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
18 lines
553 B
TypeScript
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 {}
|