UNPKG

docx

Version:

Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.

11 lines (10 loc) 444 B
import { IMediaDataTransformation } from '../../../../../media'; import { XmlComponent } from '../../../../../xml-components'; export type GroupChild = XmlComponent; export type WpgGroupCoreOptions = { readonly children: readonly GroupChild[]; }; export type WpgGroupOptions = WpgGroupCoreOptions & { readonly transformation: IMediaDataTransformation; }; export declare const createWpgGroup: (options: WpgGroupOptions) => XmlComponent;