UNPKG

@harvest-profit/npk

Version:
21 lines 777 B
import React, { ReactNode } from "react"; interface ThemeContextType { prependRootId: string; appendRootId: string; currencySymbol: string; navigation?: { as?: keyof React.JSX.IntrinsicElements | React.ComponentType<any>; hrefProp?: string; matchWith: (href: string, locationPath: string) => boolean; transformPath: (href: string) => string; }; } declare const ThemeContext: React.Context<ThemeContextType>; export default ThemeContext; interface ThemeContextProviderProps { config?: Partial<ThemeContextType>; children: ReactNode; } export declare const ThemeContextProvider: React.FC<ThemeContextProviderProps>; export type { ThemeContextType, ThemeContextProviderProps }; //# sourceMappingURL=ThemeContext.d.ts.map