I have two components which do the exact same thing but they have two different views, is there a way to re-use the same component class across two different templates?
I have currently created a class on its own and then within both the component declarations I have extended the core class, was not sure if this was the best way to make reuse of one core class definition.
Hi,
I have two components which do the exact same thing but they have two different views, is there a way to re-use the same component class across two different templates?
I have currently created a class on its own and then within both the component declarations I have extended the core class, was not sure if this was the best way to make reuse of one core class definition.
Thanks Matt