MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / comp

Function comp

packages/cli/src/commands/render.test.ts:428–429  ·  view source on GitHub ↗
(w: number, h: number)

Source from the content-addressed store, hash-verified

426 // Dims must be read the same way the producer's compiler reads them:
427 // `data-width` / `data-height` on the `[data-composition-id]` root.
428 const comp = (w: number, h: number) =>
429 `<html><body><div data-composition-id="root" data-width="${w}" data-height="${h}"></div></body></html>`;
430 const portraitHtml = comp(1080, 1920);
431 const landscapeHtml = comp(1920, 1080);
432 const noModes = { alphaRequested: false, hdrRequested: false } as const;

Callers 1

render.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected