mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
chore: run prettier on files in control-value-accessor folder
This commit is contained in:
@@ -5,8 +5,9 @@ import { FeedbackFormComponent } from './feedback-form/feedback-form.component';
|
||||
standalone: true,
|
||||
imports: [FeedbackFormComponent],
|
||||
selector: 'app-root',
|
||||
template: `<app-feedback-form
|
||||
(feedBackSubmit)="apiCall($event)"></app-feedback-form>`,
|
||||
template: `
|
||||
<app-feedback-form (feedBackSubmit)="apiCall($event)"></app-feedback-form>
|
||||
`,
|
||||
})
|
||||
export class AppComponent {
|
||||
apiCall(event: Record<string, string | null>): void {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
[formControl]="feedbackForm.controls.email"
|
||||
placeholder="Email"
|
||||
type="email" />
|
||||
<app-rating-control (ratingUpdated)="rating = $event"> </app-rating-control>
|
||||
<app-rating-control (ratingUpdated)="rating = $event"></app-rating-control>
|
||||
<textarea
|
||||
class="feedback-form-control"
|
||||
[formControl]="feedbackForm.controls.comment"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { EventEmitter } from '@angular/core';
|
||||
import { Output } from '@angular/core';
|
||||
import { Component } from '@angular/core';
|
||||
import { Validators } from '@angular/forms';
|
||||
import { FormControl } from '@angular/forms';
|
||||
import { FormGroup } from '@angular/forms';
|
||||
import { ReactiveFormsModule } from '@angular/forms';
|
||||
import { Component, EventEmitter, Output } from '@angular/core';
|
||||
import {
|
||||
FormControl,
|
||||
FormGroup,
|
||||
ReactiveFormsModule,
|
||||
Validators,
|
||||
} from '@angular/forms';
|
||||
import { RatingControlComponent } from '../rating-control/rating-control.component';
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import { EventEmitter } from '@angular/core';
|
||||
import { Output } from '@angular/core';
|
||||
import { Component } from '@angular/core';
|
||||
import { Component, EventEmitter, Output } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
|
||||
Reference in New Issue
Block a user