Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/react-router-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
"node": ">=12"
},
"dependencies": {
"@tanstack/router-devtools-core": "workspace:^",
"solid-js": "^1.9.5"
"@tanstack/router-devtools-core": "workspace:^"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.4",
Expand Down
8 changes: 4 additions & 4 deletions packages/react-router-devtools/src/TanStackRouterDevtools.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { TanStackRouterDevtoolsCore } from '@tanstack/router-devtools-core'
import { Fragment, useEffect, useRef, useState } from 'react'
import { useRouter, useRouterState } from '@tanstack/react-router'
import type { ButtonHTMLAttributes, HTMLAttributes } from 'react'
import type { AnyRouter } from '@tanstack/react-router'
import type React from 'react'
import type { JSX } from 'solid-js'

interface DevtoolsOptions {
/**
Expand All @@ -13,15 +13,15 @@ interface DevtoolsOptions {
/**
* Use this to add props to the panel. For example, you can add className, style (merge and override default style), etc.
*/
panelProps?: JSX.HTMLAttributes<HTMLDivElement>
panelProps?: HTMLAttributes<HTMLDivElement>
/**
* Use this to add props to the close button. For example, you can add className, style (merge and override default style), onClick (extend default handler), etc.
*/
closeButtonProps?: JSX.ButtonHTMLAttributes<HTMLButtonElement>
closeButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
/**
* Use this to add props to the toggle button. For example, you can add className, style (merge and override default style), onClick (extend default handler), etc.
*/
toggleButtonProps?: JSX.ButtonHTMLAttributes<HTMLButtonElement>
toggleButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
/**
* The position of the TanStack Router logo to open and close the devtools panel.
* Defaults to 'bottom-left'.
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.