I was using tabs.add and passing the view class but I cannot add a tab inside the root of SampleTabView, there has to be a tabpane.
So I was trying this tabs.tab method in which i pass title and the view class
But the addTabs method is not taking a class as a parameter
How to do that?
Is this the correct way?