datocms-plugin-sdk
Version:
13 lines (12 loc) • 518 B
TypeScript
import { SelfResizingPluginFrameCtx } from '../ctx/pluginFrame';
export type RenderConfigScreenHook = {
/**
* This function will be called when the plugin needs to render the plugin's
* configuration form
*
* @tag configScreen
*/
renderConfigScreen: (ctx: RenderConfigScreenCtx) => void;
};
export type RenderConfigScreenCtx = SelfResizingPluginFrameCtx<'renderConfigScreen'>;
export declare const renderConfigScreenBootstrapper: import("../utils").Bootstrapper<"renderConfigScreen">;