Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
feat: add documentation for shadowDOMTarget (TanStack#1709)
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Reihwald committed Jun 6, 2024
1 parent d8d4c0c commit 2a621b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/framework/react/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ function App() {
- `position?: "top-left" | "top-right" | "bottom-left" | "bottom-right"`
- Defaults to `bottom-left`
- The position of the TanStack Router logo to open and close the devtools panel
- `shadowDOMTarget?: ShadowRoot`
- Specifies a Shadow DOM target for the devtools.
- By default, devtool styles are applied to the `<head>` tag of the main document (light DOM). When a `shadowDOMTarget` is provided, styles will be applied within this Shadow DOM instead.

## Embedded Mode

Expand Down

0 comments on commit 2a621b9

Please sign in to comment.