In angular, there is one feature available that we can create a component once and then reuse it anywhere in the project.
I am working on one complex project where lot's of components are available. and now I want to make all these components more reusable.
That's why, I want to reuse my layout in the following way :
<car-layout [color]="'red'">
<steering [color]="'black'"></steering >
<rear-view-mirror [size]= "'12'"></rear-view-mirror>
</car-layout>
But I don't know how can it work ! If anyone know about it then please guide me for this...