alinea
Version:
Headless git-based CMS
17 lines (16 loc) • 651 B
TypeScript
import type { Config } from 'alinea/core/Config';
import type { LocalConnection } from 'alinea/core/Connection';
import type { ComponentType, PropsWithChildren } from 'react';
import { type QueryClient } from 'react-query';
import type { WorkerDB } from './boot/WorkerDB.js';
export interface DashboardProps {
db: WorkerDB;
config: Config;
views: Record<string, ComponentType<any>>;
client: LocalConnection;
queryClient?: QueryClient;
fullPage?: boolean;
dev?: boolean;
alineaDev?: boolean;
}
export declare function DashboardProvider(props: PropsWithChildren<DashboardProps>): import("react/jsx-runtime").JSX.Element;