kjelsrud.dev/node_modules/hastscript/lib/html.js

19 lines
717 B
JavaScript
Raw Normal View History

2023-07-19 21:31:30 +02:00
/**
* @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')