angular/integration/cli-elements-universal/src/app/title.component.ts
Matthieu Riegler e85021a7ba build: Migrate all integration tests with the schematic. (#58160)
All components, directives and pipes will now use standalone as default. Non-standalone decorators have now .

PR Close #58160
2024-10-14 14:58:58 +00:00

10 lines
229 B
TypeScript

import {Component, Input} from '@angular/core';
@Component({
selector: 'app-title',
template: '<h1>{{ appName }} app is running!</h1>',
standalone: false,
})
export class TitleComponent {
@Input() appName = 'Unknown';
}