mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-12 22:03:03 -05:00
refactor: move libs
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { FeedbackFormComponent } from './feedback-form/feedback-form.component';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [FeedbackFormComponent],
|
||||
selector: 'app-root',
|
||||
template: `
|
||||
<app-feedback-form (feedBackSubmit)="apiCall($event)"></app-feedback-form>
|
||||
`,
|
||||
})
|
||||
export class AppComponent {
|
||||
apiCall(event: Record<string, string | null>): void {
|
||||
console.log(event);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user