- makeJSXElement(name, attributes, children, selfClosing): JSXElement
Parameters
- name: string
- attributes: JSXAttribute[]
- children: (
| JSXElement
| JSXExpressionContainer
| JSXFragment
| JSXSpreadChild
| JSXText)[] - selfClosing: boolean
Returns JSXElement
生成 JSXElement