@tanstack/react-table-devtools
Version:
React devtools for TanStack Table.
13 lines (11 loc) • 406 B
JavaScript
import { TableDevtoolsPanel } from "./ReactTableDevtools.js";
import { createReactPlugin } from "@tanstack/devtools-utils/react";
//#region src/plugin.tsx
const plugins = createReactPlugin({
name: "TanStack Table",
Component: TableDevtoolsPanel
});
const tableDevtoolsPlugin = plugins[0];
const tableDevtoolsNoOpPlugin = plugins[1];
//#endregion
export { tableDevtoolsNoOpPlugin, tableDevtoolsPlugin };