UNPKG

885 BJavaScriptView Raw
1"use strict";
2// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3// See LICENSE in the project root for license information.
4Object.defineProperty(exports, "__esModule", { value: true });
5exports.DocNoteBox = void 0;
6const tsdoc_1 = require("@microsoft/tsdoc");
7/**
8 * Represents a note box, which is typically displayed as a bordered box containing informational text.
9 */
10class DocNoteBox extends tsdoc_1.DocNode {
11 constructor(parameters, sectionChildNodes) {
12 super(parameters);
13 this.content = new tsdoc_1.DocSection({ configuration: this.configuration }, sectionChildNodes);
14 }
15 /** @override */
16 get kind() {
17 return "NoteBox" /* NoteBox */;
18 }
19 /** @override */
20 onGetChildNodes() {
21 return [this.content];
22 }
23}
24exports.DocNoteBox = DocNoteBox;
25//# sourceMappingURL=DocNoteBox.js.map
\No newline at end of file