docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
9 lines (8 loc) • 318 B
TypeScript
import { XmlComponent } from '../../../xml-components';
import { MathComponent } from '../math-component';
type MathBarOptions = {
readonly type: "top" | "bot";
readonly children: readonly MathComponent[];
};
export declare const createMathBar: ({ type, children }: MathBarOptions) => XmlComponent;
export {};