Skip to content

In page navigation vs Tabs question #3538

Answered by SiTaggart
jalexy12 asked this question in Q&A

You must be logged in to vote

Correct, and nor do we in the Anchor and Breadcrumb components. If you open up the Codesandboxes in both of those links it'll show you how you get Anchor like components in Paste to work with a router. Each router is different and we have NextJS, Gatsby and CRA folks all over Twilio and in the Public.

When ever we have an Anchor like component, all we do is give you a styled HTML anchor element as that's all we can do. InPageNavigationItem extends the types from an HTML anchor so in theory you should be able to copy the same implementation example on both of those pages.

Replies: 2 comments 4 replies

You must be logged in to vote
1 reply
@SiTaggart

You must be logged in to vote
3 replies
@jalexy12

@SiTaggart

Answer selected by jalexy12
@jalexy12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants