mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-12 13:53:03 -05:00
refactor: move libs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
/* 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 {}
|
||||
Reference in New Issue
Block a user