formio-pr-react
Version:
React renderer for form.io forms.
21 lines • 674 B
TypeScript
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