forked from microsoft/rushstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDocTableCell.ts
More file actions
33 lines (27 loc) · 901 Bytes
/
DocTableCell.ts
File metadata and controls
33 lines (27 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import {
IDocNodeParameters,
DocNode,
DocSection
} from '@microsoft/tsdoc';
import { CustomDocNodeKind } from './CustomDocNodeKind';
/**
* Constructor parameters for {@link DocTableCell}.
*/
export interface IDocTableCellParameters extends IDocNodeParameters {
}
/**
* Represents table cell, similar to an HTML `<td>` element.
*/
export class DocTableCell extends DocNode {
public readonly content: DocSection;
public constructor(parameters: IDocTableCellParameters, sectionChildNodes?: ReadonlyArray<DocNode>) {
super(parameters);
this.content = new DocSection({ configuration: this.configuration }, sectionChildNodes);
}
/** @override */
public get kind(): string {
return CustomDocNodeKind.TableCell;
}
}