Accessing currentTabKey prop of a Flexible Tabs component

The Flexible Tabs component has the “currentTabKey” prop that is used to show various tabs. While within a tab container, I have access to that prop in conditional logic for dynamic values.

But, outside of a tab container, how do I access it? I can’t find where it is defined so I can try exposing it to the page. Does the page have no idea of the state of the tabs?

Basically, I am trying to show or hide elements in the footer based on whether certain tabs are visible.

So how can I read the prop of the active tab from outside the component?


Hi, it’s not exposed outside, so you have to put the element inside the container.

I see, thanks.