MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / defaultRenderContainer

Function defaultRenderContainer

shared-dom/src/renderContainer.ts:26–42  ·  view source on GitHub ↗
(args: {
	resizingIframe: CommonResizingIframe
})

Source from the content-addressed store, hash-verified

24}>
25
26export const defaultRenderContainer = (args: {
27 resizingIframe: CommonResizingIframe
28}) => ({
29 ...args,
30 transformers,
31 body,
32 renderTemplate,
33 html,
34 strip,
35 noteOrds,
36 templateIndexes,
37 toastError,
38 toastFatal,
39 toastImpossible,
40 toastInfo,
41 toastWarn,
42})
43
44export type RenderContainer = ReturnType<typeof defaultRenderContainer>
45export type RenderContainerArgs = Parameters<typeof defaultRenderContainer>[0]

Callers 4

registerPluginServicesFunction · 0.90
ResizingIframeDefaultFunction · 0.90
defaultContainerFunction · 0.90
noteOrdsRenderContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected