rvx
Version:
A signal based rendering library
14 lines • 381 B
JavaScript
import { createElement } from "./common.js";
export { Fragment } from "./common.js";
export function jsx(type, props, key) {
if (key !== undefined) {
props.key = key;
}
if (typeof type === "function") {
return type(props);
}
return createElement(type, props);
}
export const jsxs = jsx;
export const jsxDEV = jsx;
//# sourceMappingURL=r17.js.map