feat(packageManagerSwitcher): Add Package Manager Tabs Component for Documentation to wrap codespaces.#15
Closed
shashankxrm wants to merge 3 commits intolovit-dev:mainfrom
Closed
Conversation
Contributor
|
Hi @shashankxrm 👋, Thanks for your work on the PackageManagerTabs component! The feature works, but to follow our project practices, please note a few points:
Tip: Always look at other files in the project to follow the same structure and practices. This is just feedback to align with project standards—it doesn’t mean the component isn’t working. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added a new
PackageManagerTabscomponent to improve the documentation experience by providing an interactive way to switch between different package manager commands (npm, yarn, pnpm, bun) with a modern UI inspired from vitest documentation.Motivation
This new feature improves the documentation experience by providing an interactive way to switch between different package manager commands (npm, yarn, pnpm, bun) with a modern UI .
Changes Made
New Component
PackageManagerTabs.tsxcomponent with the following features:site/public/icons)Integration
components/mdx/index.tsxas a replacement forpreelementsStyling
Features
Usage Example
Screen.Recording.2025-05-20.at.13.24.57.mov
Change Type
Checklist
npm run lint)Related Issues