@omer-x/react-component-tree-visualizer
v0.1.2
Published
Provides a react component to visualize component trees
Downloads
17
Readme
React Component Tree Visualizer
React Component Tree Visualizer provides a React component to visualize component trees in your Next.js applications.
Installation
To install React Component Tree Visualizer, you can use npm:
npm install @omer-x/react-component-tree-visualizer
How to Use in Your Next.js App
import Visualizer from "@omer-x/react-component-tree-visualizer";
import React from "react";
type ComponentExplorerProps = {
searchParams: {
route?: string,
},
};
const ComponentExplorer = ({
searchParams,
}: ComponentExplorerProps) => {
return (
<Visualizer
route={searchParams.route}
/>
);
};
export default ComponentExplorer;
Issues
If you encounter any issues or have suggestions for improvement, please submit them here.
License
This project is licensed under the MIT License - see the LICENSE file for details.