We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 158b2d7 + e241d3a commit 877867eCopy full SHA for 877867e
src/build.mjs
@@ -19,13 +19,13 @@ const PROP_APPEND = MODE_PROP_APPEND;
19
// convenient to analyze and transform (e.g. Babel plugins).
20
// For example:
21
// treeify(
22
-// build'<div href="1${a}" ...${b}><${x} /></div>`,
+// build`<div href="1${a}" ...${b}><${x} /></div>`,
23
// [X, Y, Z]
24
// )
25
// returns:
26
// {
27
// tag: 'div',
28
-// props: [ { href: ["1", X] }, Y ],
+// props: [ { href: ["1", X] }, Y ],
29
// children: [ { tag: Z, props: [], children: [] } ]
30
// }
31
export const treeify = (built, fields) => {
0 commit comments