I'm using two different components A: sea.component.ts and B:sun.component.ts both call a child component in these child I have to load a different css if is called by sea or sun component. Is possible to pass css url as an input in child component as:
<sun_parent>
<child [css]="sun_css"></child>
</parent>
<sea_parent>
<child [css]="sun_css"></child>
</sea_parent>
ngStyleangular.io/api/common/NgStyle