mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-27 14:16:34 +00:00
13 lines
265 B
JavaScript
13 lines
265 B
JavaScript
import { h, Fragment } from 'vue'
|
|
|
|
function jsx(type, props, key) {
|
|
const { children } = props
|
|
delete props.children
|
|
if (arguments.length > 2) {
|
|
props.key = key
|
|
}
|
|
return h(type, props, children)
|
|
}
|
|
|
|
export { Fragment, jsx, jsx as jsxs, jsx as jsxDEV }
|