-
Notifications
You must be signed in to change notification settings - Fork 99
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
Create docs-ui package with LinkableHeading component #1401
Conversation
🦋 Changeset detectedLatest commit: 752ec55 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
| --------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| level | [`HeadingLevel`] | The heading size (defaults to `3`) | | ||
| component | `string` | HTML element to render, e.g. “h1”, “h2”, etc. | | ||
| children | `string` | Visible heading content, converted to slug (e.g. “section-heading”) to be used as hash link.<br/>Note: If the heading | |
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.
If the heading what?
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.
Oh whoops, will add the fix in the follow up PR
This package is to house components for building docs sites like Braid. It is intended to be used by other sites with a similar layout and UX to the Braid site.
There will be a follow up PR to remove the 'LinkableHeading' component from the
braid-design-system
package and replace all usages with the component from thedocs-ui
package.