ModReleaser/src/app/providers.tsx

22 lines
460 B
TypeScript
Raw Normal View History

2026-07-11 12:13:20 +08:00
"use client";
import { AntdRegistry } from "@ant-design/nextjs-registry";
import { App, ConfigProvider } from "antd";
export function Providers({ children }: { children: React.ReactNode }) {
return (
<AntdRegistry>
<ConfigProvider
theme={{
token: {
colorPrimary: "#1677FF",
borderRadius: 6,
},
}}
>
<App>{children}</App>
</ConfigProvider>
</AntdRegistry>
);
}