Skip to main content
Module

x/docxml/mod.ts>JSX

An experimental Deno tool to transform XML to DOCX with a little XPath- and component based configuration
Go to Latest
function JSX
import { JSX } from "https://deno.land/x/docxml@2.4.2/mod.ts";

Type Parameters

C extends Component

Parameters

component: ComponentComponentFunction<C> | ComponentDefinition<C>
props: ComponentProps<C>
...children: Array<ComponentChild<C> | Array<ComponentChild<C>>>

Returns

Array<C | ComponentChild<C> | ReturnType<ComponentComponentFunction<C>>>