dumi-theme-antd-style
Version:
dumi-theme-antd-style 是为 dumi2 打造的一款文档站主题包,提供了更加美观、易用的研发与阅读体验
11 lines (10 loc) • 445 B
TypeScript
import { extractStaticStyle } from 'antd-style';
import { ReactNode } from 'react';
import { SiteConfigToken } from '../../types';
export interface ThemeProviderProps {
token?: Partial<SiteConfigToken>;
children?: ReactNode;
ssrInline?: boolean;
cache?: typeof extractStaticStyle.cache;
}
export declare const ThemeProvider: ({ children, token, ssrInline, cache }: ThemeProviderProps) => import("react/jsx-runtime").JSX.Element;