Located inside my.component.html
<nested-component [class]="nestedClass"></nested-component>
Now, when wanting to utilize my component, both style classes need to be specified:
<my-component class="my-component-style" nestedClass="nested-component-style"></my-component>
The above code did not achieve the desired result (i.e. the nested-component did not receive the style class .nested-component-style). How would you rectify the issue with the code above? Any alternative solutions are appreciated.