15 lines
368 B
TypeScript
15 lines
368 B
TypeScript
![]() |
import { Paragraph } from "./paragraph";
|
||
|
import { Table } from "./table";
|
||
|
|
||
|
export interface IHeaderOptions {
|
||
|
readonly children: Array<Paragraph | Table>;
|
||
|
}
|
||
|
|
||
|
export class Header {
|
||
|
constructor(public readonly options: IHeaderOptions = { children: [] }) {}
|
||
|
}
|
||
|
|
||
|
export class Footer {
|
||
|
constructor(public readonly options: IHeaderOptions = { children: [] }) {}
|
||
|
}
|