We are using same pattern suggested by Thomas above. It works when the component property names are same as the one declared in the target modal.
This works: @Input() propertyName: any;
If you want to rename, you would need to use an Input "alias:" (see https://angular.dev/api/core/Input)