Hi,
I using TAB component on react.
I have some TAB pages and i want to select last tab page as "selected"
i tried below code
this.mytabs.map ((tab, index) => {
return index == this.mytabs.length() ? <TabPanel selected index...... id..... key ..........><TabContainer>bla</TabContainer></TabPanel> :
<TabPanel index...... id..... key ..........><TabContainer>bla</TabContainer></TabPanel>
})
As you can see i only add SELECTED into last TAB. But unfortunatelly first tab is beling selected on program startup.