I have generated three different components in angular 7 project
ng g c mycomp1
ng g c mycomp2
ng g c mycomp3
now I want to develop a tab in mycop1
component which looks like below
by clicking on First tab it should display HTML or render the content from the same component.
by clicking on the Second tab I required to render content from mycomp2 component(from the different component),
Similarly from the third tab required to render from mycomp3 component.
kindly help how can I proceed to do this,
Thanks
let assume we have 4 components (app.component, a.component, b.component, c.component)
check the complete code in the below url https://stackblitz.com/edit/angular-gerrxm