Closed ArtieReus closed 8 months ago
ok it seems the documentation is not up to date. I found in Supernova following
activeItem={selectedItem} onActiveItemChange={handleTabSelect}>
which it isn't what is documented here: https://ui.juno.global.cloud.sap/?path=/docs/navigation-tabnavigation-tabnavigation--docs
onTabChange !== onActiveItemChange activeTab !== activeItem
So I can see that I have created the issue before the commit from Franz came in: https://github.com/sapcc/juno/commit/7a234827e3ce39188b76478e2c0404b78960995e
We can close this topic since the documentation is changed.
react-dom.development.js:86 Warning: React does not recognize the
activeTab
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercaseactivetab
instead. If you accidentally passed it from a parent component, remove it from the DOM element.