Files
NapCatQQ/.pnpm-store/v3/files/73/195d61806f567fbc8252413e598388c83d4a0d957545b1486d951c80141f436c6a8a7d030d8a609b7b942ef063be759bd50e585d9fd93ad62b0264a9cb7356
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

14 lines
291 B
Plaintext

// src/functions.ts
import * as React from "react";
function renderFn({ Component, props, renderCustom }) {
if (renderCustom && typeof renderCustom === "function") {
return renderCustom(props);
} else {
return React.createElement(Component, props);
}
}
export {
renderFn
};