test(ct-angular): make input required

This commit is contained in:
Younes Jaaidi 2024-02-23 17:45:35 +01:00
parent 0e5dbecf7e
commit 90c5a172bb
No known key found for this signature in database
GPG key ID: 3126C5717BDF3241

View file

@ -8,6 +8,6 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
` `
}) })
export class ButtonComponent { export class ButtonComponent {
@Input() title!: string; @Input({required: true}) title!: string;
@Output() submit = new EventEmitter(); @Output() submit = new EventEmitter();
} }