Improve presentation of "illustrative purposes" notice

This commit is contained in:
Pete Gonzalez 2022-04-07 15:41:45 -07:00
Родитель e66ec2ca2f
Коммит 72a0833c3b
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -156,9 +156,6 @@ export class PlaygroundView extends React.Component<IPlaygroundViewProps, IPlayg
{this._renderSelectSample()} {this._renderSelectSample()}
{this._renderThemeSelector()} {this._renderThemeSelector()}
</div> </div>
<div className="playground-notice-banner" style={bannerStyle}>
TSDoc does not parse Typescript. Typescript code used here is for illustrative purposes only.
</div>
<CodeEditor <CodeEditor
className="playground-input-text-editor" className="playground-input-text-editor"
style={editorStyle} style={editorStyle}

Просмотреть файл

@ -13,3 +13,6 @@
function getAverage(x: number, y: number): number { function getAverage(x: number, y: number): number {
return (x + y) / 2.0; return (x + y) / 2.0;
} }
// The TypeScript function is included for illustrative purposes.
// It is not processed by the TSDoc parser.