MCPcopy Create free account
hub / github.com/027xiguapi/code-box / ThemeProvider

Function ThemeProvider

theme.tsx:4–13  ·  view source on GitHub ↗
({ children = null as ReactNode })

Source from the content-addressed store, hash-verified

2import type { ReactNode } from "react"
3
4export const ThemeProvider = ({ children = null as ReactNode }) => (
5 <ConfigProvider
6 theme={{
7 token: {
8 colorPrimary: "#52c41a"
9 }
10 }}>
11 {children}
12 </ConfigProvider>
13)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected