Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

plugin.tsx

11 lines333 Bytes

1import { createSolidPlugin } from '@tanstack/devtools-utils/solid'
2import { AiDevtoolsPanel } from './AiDevtools'
3​
4const [aiDevtoolsPlugin, aiDevtoolsNoOpPlugin] = createSolidPlugin({
5 Component: AiDevtoolsPanel,
6 name: 'TanStack AI',
7 id: 'tanstack-ai',
8 defaultOpen: true,
9})
10​
11export { aiDevtoolsPlugin, aiDevtoolsNoOpPlugin }