Files
SnowLuma/.pnpm-store/v11/files/14/7ff4ce16d9687ab7246c707e44056166e609a953e97a9c9cee84f8c329c0f3917404b0777718b5b603c09e4468a0c670e0f5d1c32fb663783627d668d0cb50
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

15 lines
414 B
Plaintext

import { Fragment, jsxFn } from "./base.js";
//#region src/jsx/jsx-dev-runtime.ts
function jsxDEV(tag, props, key) {
let node;
if (!props || !("children" in props)) node = jsxFn(tag, props, []);
else {
const children = props.children;
node = Array.isArray(children) ? jsxFn(tag, props, children) : jsxFn(tag, props, [children]);
}
node.key = key;
return node;
}
//#endregion
export { Fragment, jsxDEV };