I have a root component (called ComponentA) which has a formGroup and inside this formGroup one formArray. This formArray I want to be built in another component. Is there any way to create a component which returns a formArray value?
Most probably your logic is wrong here because you are thinking the opposite way. The correct approach would be to have a child component with an @Input() formControl: FormControl. There, from the parent component you would pass in the formControl from the formgroup you made
@Input() formControl: FormControl. There, from the parent component you would pass in the formControl from the formgroup you made