UNPKG

@prezly/theme-kit-nextjs

Version:

Data layer and utility library for developing Prezly themes with NextJS

11 lines (10 loc) 348 B
import { AsyncResolvable } from '@prezly/theme-kit-core'; export declare namespace ThemeSettingsAdapter { interface Configuration<T> { defaults: AsyncResolvable<T>; settings: AsyncResolvable<Partial<T> | undefined>; } function connect<T>(config: Configuration<T>): { useThemeSettings: () => Promise<T>; }; }