You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
265 B
13 lines
265 B
1 month ago
|
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 }
|