18 lines
717 B
JavaScript
18 lines
717 B
JavaScript
/**
|
|
* @typedef {import('./core.js').HChild} Child
|
|
* Acceptable child value.
|
|
* @typedef {import('./core.js').HProperties} Properties
|
|
* Acceptable value for element properties.
|
|
* @typedef {import('./core.js').HResult} Result
|
|
* Result from a `h` (or `s`) call.
|
|
*
|
|
* @typedef {import('./jsx-classic.js').Element} h.JSX.Element
|
|
* @typedef {import('./jsx-classic.js').IntrinsicAttributes} h.JSX.IntrinsicAttributes
|
|
* @typedef {import('./jsx-classic.js').IntrinsicElements} h.JSX.IntrinsicElements
|
|
* @typedef {import('./jsx-classic.js').ElementChildrenAttribute} h.JSX.ElementChildrenAttribute
|
|
*/
|
|
|
|
import {html} from 'property-information'
|
|
import {core} from './core.js'
|
|
|
|
export const h = core(html, 'div')
|