Function
createVNode
(type, props?, children?)
Source from the content-addressed store, hash-verified
| 1 | export const createVNode = (type, props?, children?) => { |
| 2 | const vnode = { |
| 3 | type, |
| 4 | props, |
| 5 | children |
| 6 | }; |
| 7 | return vnode; |
| 8 | }; |
Tested by
no test coverage detected