UNPKG

@prezly/theme-kit-nextjs

Version:

Data layer and utility library for developing Prezly themes with NextJS

14 lines (13 loc) 420 B
import type { ReactNode } from 'react'; export declare namespace ThemeSettingsAdapter { interface Configuration<T> { defaults: T; } function connect<T>(config: Configuration<T>): { ThemeSettingsProvider: (props: { settings: Partial<T> | undefined; children: ReactNode; }) => import("react/jsx-runtime").JSX.Element; useThemeSettings: () => T; }; }