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

Function makeHtml

packages/sdk/src/engine/mutate.cssstyle.test.ts:17–23  ·  view source on GitHub ↗
(style = CSS)

Source from the content-addressed store, hash-verified

15`;
16
17function makeHtml(style = CSS) {
18 return `<!DOCTYPE html><html><head><style>${style}</style></head><body>
19<div data-hf-id="hf-stage" data-hf-root style="width: 1280px; height: 720px">
20 <div data-hf-id="hf-box" class="box"></div>
21 <h1 data-hf-id="hf-title" class="title">Hello</h1>
22</div></body></html>`.trim();
23}
24
25function fresh(style = CSS) {
26 return parseMutable(makeHtml(style));

Callers 1

freshFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected