({ children }: { children: React.ReactNode })
| 23 | }) |
| 24 | |
| 25 | function RootDocument({ children }: { children: React.ReactNode }) { |
| 26 | return ( |
| 27 | <html lang="en"> |
| 28 | <head> |
| 29 | <HeadContent /> |
| 30 | </head> |
| 31 | <body> |
| 32 | {children} |
| 33 | <TanStackDevtools |
| 34 | eventBusConfig={{ connectToServerBus: true }} |
| 35 | plugins={[ |
| 36 | { |
| 37 | id: 'demo', |
| 38 | name: 'Demo', |
| 39 | defaultOpen: true, |
| 40 | render: <div data-testid="demo-plugin">demo plugin content</div>, |
| 41 | }, |
| 42 | { |
| 43 | id: 'event-probe', |
| 44 | name: 'Event Probe', |
| 45 | render: <EventProbePanel />, |
| 46 | }, |
| 47 | ]} |
| 48 | /> |
| 49 | <Scripts /> |
| 50 | </body> |
| 51 | </html> |
| 52 | ) |
| 53 | } |
nothing calls this directly
no outgoing calls
no test coverage detected