UNPKG

@coko/client

Version:

Client side common code for coko apps

14 lines (13 loc) 509 B
import { type ReactNode } from 'react'; import { DefaultTheme } from 'styled-components'; import type { AppProps } from 'antd'; export declare function makeAntdTheme(providedTheme: DefaultTheme): { token: Record<string, unknown>; }; type AntConfigProviderProps = { children: ReactNode; theme: DefaultTheme; notification?: AppProps['notification']; }; declare const AntConfigProvider: ({ children, theme, notification, }: AntConfigProviderProps) => ReactNode; export default AntConfigProvider;