ccc-tnt-psd2ui/npm-packages/mac-v3.4.+/vue/jsx-runtime/index.js

16 lines
303 B
JavaScript
Raw Permalink Normal View History

2023-09-06 01:51:55 +00:00
const { h, Fragment } = require('vue')
function jsx(type, props, key) {
const { children } = props
delete props.children
if (arguments.length > 2) {
props.key = key
}
return h(type, props, children)
}
exports.jsx = jsx
exports.jsxs = jsx
exports.jsxDEV = jsx
exports.Fragment = Fragment