UNPKG
yagni-dom
Version:
latest (0.0.1)
0.0.1
Yet another functional library (DOM API related)
github.com/ysegorov/yagni-dom
ysegorov/yagni-dom
yagni-dom
/
dist
/
yagni-dom.cjs.js
15 lines
(11 loc)
•
240 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
;
Object
.
defineProperty
(
exports
,
'__esModule'
, {
value
:
true
});
function
h
(
tagName, attrs, props, children
) {
return
{
tagName
: tagName,
attrs
: attrs,
props
: props,
children
: children }; }
exports
.
h
= h;