MCPcopy
hub / github.com/resend/react-email / HtmlNode

Interface HtmlNode

packages/render/src/shared/utils/pretty.ts:6–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { format } from 'prettier/standalone';
5
6interface HtmlNode {
7 type?: 'element' | 'text' | 'ieConditionalComment';
8 kind?: 'element' | 'text' | 'ieConditionalComment' | 'root';
9 name?: string;
10 sourceSpan: {
11 start: { file: unknown[]; offset: number; line: number; col: number };
12 end: { file: unknown[]; offset: number; line: number; col: number };
13 details: null;
14 };
15 parent?: HtmlNode;
16}
17
18function getHtmlNode(path: {
19 node?: HtmlNode;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…