UNPKG

urbi-exhibitions

Version:
14 lines (13 loc) 492 B
import { PropsWithChildren } from 'react'; export type TranslateFunc = (text: string) => string; type AppTheme = 'light' | 'dark'; interface ExhibitionContextProviderProps extends PropsWithChildren { t?: TranslateFunc; theme: AppTheme; } export declare const useExhibitionContext: () => { t: TranslateFunc; theme: AppTheme; }; export declare const ExhibitionContextProvider: ({ children, theme, t, }: ExhibitionContextProviderProps) => import("react").JSX.Element; export {};