WorkflowBuilderPlugin
WorkflowBuilderPlugin = () =>
void
Plugin initializer — a synchronous function invoked exactly once on the
first mount of <WorkflowBuilder.Root>. Inside the body call one of the
SDK’s register* APIs:
registerComponentDecorator— inject UI / hooks into a known slotregisterFunctionDecorator— intercept a registered function before/afterregisterPluginTranslation— add i18next strings underplugins.<name>registerCustomRenderers/registerCustomCells— extend JsonForms
Plugins write into module-level registries; they do not see the per-Root
store. The Root invokes them through a useRef-guarded first-render hook,
so strict-mode double-render is a no-op and re-renders skip the work.
Returns
Section titled “Returns”void
Example
Section titled “Example”const myPlugin: WorkflowBuilderPlugin = () => { registerComponentDecorator('OptionalAppBarTools', { content: MyButton, name: 'my-plugin', });};