test(ct-angular): make input required
This commit is contained in:
parent
0e5dbecf7e
commit
90c5a172bb
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue