UNPKG

formio-pr-react

Version:
21 lines 674 B
import { Formio as ImportedFormio } from 'formio-pr-js'; type BaseConfigurationArgs = { baseUrl?: string; projectUrl?: string; Formio?: typeof ImportedFormio; }; export declare const FormioContext: import("react").Context<({ Formio: any; baseUrl: any; projectUrl: any; } & { token: any; setToken: import("react").Dispatch<any>; isAuthenticated: boolean; logout: () => Promise<void>; }) | null>; export declare function FormioProvider({ children, baseUrl, projectUrl, Formio, }: { children: React.ReactNode; } & BaseConfigurationArgs): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=FormioContext.d.ts.map