Add js web stuff to landing page + documentation
This commit is contained in:
10
go/jsruntime/runtime/solid-js/h/jsx-runtime/dist/jsx.js
vendored
Normal file
10
go/jsruntime/runtime/solid-js/h/jsx-runtime/dist/jsx.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import h from 'solid-js/h';
|
||||
|
||||
function Fragment(props) {
|
||||
return props.children;
|
||||
}
|
||||
function jsx(type, props) {
|
||||
return h(type, props);
|
||||
}
|
||||
|
||||
export { Fragment, jsx, jsx as jsxDEV, jsx as jsxs };
|
||||
Reference in New Issue
Block a user