In such cases we recommend the composition over inheritance approach where the wrapper component passes the required configuration options via @Input properties and the wrapped component communicates to its wrapper via @Outputs. Please check the following article from the official Angular documentation demonstrating how Angular components interact using the @Input and @Output decorators:
Here is an example demonstrating a simple wrapper component using a single @Input:
I hope the provided information helps. Please let us know in case any additional details are required for this case. Thank you.
Progress is here for your business, like always. Read more
about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.