Skip to content
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: Nested navigation items #204

Merged
merged 14 commits into from
Sep 23, 2024
Merged

Conversation

patricklafrance
Copy link
Member

The registerNavigationItem function now accepts a sectionId option to nest the item under a specific navigation section:

runtime.registerNavigationItem({
    $id: "link",
    $label: "Link",
    to: "/link"
}, {
    sectionId: "some-section"
});

@patricklafrance patricklafrance merged commit d3f7b9c into main Sep 23, 2024
2 checks passed
@patricklafrance patricklafrance deleted the feat/nested_navigation_items branch September 23, 2024 03:18
@github-actions github-actions bot mentioned this pull request Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant