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: Improve model for custom collapse state and custom nav on click #8

Merged
merged 3 commits into from
Oct 19, 2024

Conversation

wilsonneto-dev
Copy link
Owner

This PR aims to add the possibility for the parser to set node initialStateAsCollapsed and navigateToLineOnClick props in the model that way:

  • The parser can customize if the navigation sections should start as opened or closed
  • Also, the parser component can make the section title clickable and navigable or not

@wilsonneto-dev wilsonneto-dev merged commit bcef986 into main Oct 19, 2024
1 check passed
@wilsonneto-dev wilsonneto-dev deleted the wn/improve-model-for-custom-behavior branch October 19, 2024 19:40
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