TabPanel component that renders content for a specific tab. The content is only visible when the tab is selected.
Component props
<TabPanel value={currentTab} index={0} name="first-panel"> <div>First panel content</div></TabPanel> Copy
<TabPanel value={currentTab} index={0} name="first-panel"> <div>First panel content</div></TabPanel>
TabPanel component that renders content for a specific tab. The content is only visible when the tab is selected.