-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add <Expandable /> permalinks #10622
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Bundle ReportChanges will increase total bundle size by 1.09kB ⬆️
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating!
@@ -46,7 +46,7 @@ This is some content | |||
</Expandable> | |||
|
|||
```markdown {tabTitle:Example} | |||
<Expandable title="Thi is a title"> | |||
<Expandable title="This is a title"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lizokm
@a-hariti Nice! |
* feat: add expandable permalinks * disable text selection on Expandable header * fix spacing * Update docs/contributing/pages/components.mdx * Update docs/contributing/pages/components.mdx --------- Co-authored-by: Liza Mock <[email protected]>
add a
permalink
option to the<Expandable />
component to render headers as links and show them up on the TOC.