@omer-x/react-component-tree-visualizer
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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.

Package Sidebar

Install

npm i @omer-x/react-component-tree-visualizer

Weekly Downloads

3

Version

0.1.2

License

MIT

Unpacked Size

31.1 kB

Total Files

36

Last publish

Collaborators

  • omer-x