I have a primereact component .
<TabView >
<TabPanel header="Panel 1">
</TabPanel>
<TabPanel header="Panel 2">
</TabPanel>
</TabView>
How can I show/hide a tab based on a concrete value?
I have a primereact component .
<TabView >
<TabPanel header="Panel 1">
</TabPanel>
<TabPanel header="Panel 2">
</TabPanel>
</TabView>
How can I show/hide a tab based on a concrete value?
You can have a list of tabs to show and modify the list when it suits you:
and then do something like