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

Add Storybook Implementation ToC Component #343

Open
martyanovandrey opened this issue Dec 10, 2024 · 0 comments
Open

Add Storybook Implementation ToC Component #343

martyanovandrey opened this issue Dec 10, 2024 · 0 comments
Labels

Comments

@martyanovandrey
Copy link
Contributor

martyanovandrey commented Dec 10, 2024

We need to add a Storybook entry for the Table of Contents (ToC) component.
https://github.com/diplodoc-platform/components/tree/master/src/components/Toc

This will facilitate easier testing, visualization, and documentation of the component for developers and designers.

Tasks:

  • Create a new story file for the ToC component in the stories directory.
    https://github.com/diplodoc-platform/components/tree/master/demo/src/Components
  • Ensure the Storybook entry demonstrates the component’s basic functionality and key features.
  • Implement story controls to allow interactive manipulation of component properties (e.g., different heading levels, styling options).
  • Provide clear documentation within Storybook explaining how the component works, including examples of different use cases.

Acceptance Criteria:

  • The ToC component appears in Storybook with a variety of examples and variations.
  • Interactive controls are available and work as expected.
  • Documentation within the Storybook is clear and helpful to users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant