This component is still a work in progress.
You should be using all of , ,{' '}
, and
components.
This will give you all kinds of accessibility and state tracking out of the box.
But you will have to render all tab content, including hooks, upfront.
setShowTempTab(!showTempTab)}>
Toggle Temporary View
{
setShowTempTab(false);
}}
orgSlug={'sentry'}
router={{} as any}
/>
);
});
});
const StyledButton = styled(Button)`
justify-content: start;
margin-bottom: 5px;
`;
const TabBarContainer = styled('div')`
display: flex;
justify-content: start;
width: 90%;
height: 300px;
`;