source:
node_modules/vue/jsx-runtime/index.mjs
Last change on this file was 57e58a3, checked in by , 4 months ago | |
---|---|
|
|
File size: 265 bytes |
Line | |
---|---|
1 | import { h, Fragment } from 'vue' |
2 | |
3 | function jsx(type, props, key) { |
4 | const { children } = props |
5 | delete props.children |
6 | if (arguments.length > 2) { |
7 | props.key = key |
8 | } |
9 | return h(type, props, children) |
10 | } |
11 | |
12 | export { Fragment, jsx, jsx as jsxs, jsx as jsxDEV } |
Note:
See TracBrowser
for help on using the repository browser.