UNPKG

@formio/core

Version:

The core Form.io renderering framework.

26 lines (25 loc) 586 B
import 'core-js/features/object/from-entries'; import { Formio } from './sdk'; /** * Register a specific plugin. * * @param key * @param plugin * @returns */ export declare function usePlugin(key: string, plugin: any): void; /** * Register a new module. * * @param module * @returns */ export declare function useModule(module: any): void; /** * Allows passing in plugins as multiple arguments or an array of plugins. * * Formio.plugins(plugin1, plugin2, etc); * Formio.plugins([plugin1, plugin2, etc]); */ export declare function use(...mods: any): void; export { Formio };