MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / Providers

Function Providers

src/app/providers.tsx:20–35  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

18}
19
20export function Providers({ children }: { children: React.ReactNode }) {
21 const { showProBanner } = useProBannerStore()
22
23 return (
24 <ThemeProvider
25 attribute="class"
26 disableTransitionOnChange
27 defaultTheme="light"
28 >
29 <CSPostHogProvider>
30 {children}
31 {showProBanner && <SyntaxUIProBanner />}
32 </CSPostHogProvider>
33 </ThemeProvider>
34 )
35}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected