rvx
Version:
A signal based rendering library
14 lines • 402 B
JavaScript
import { createElement } from "../internals/create-element.js";
export { Fragment } from "./fragment.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