Improve presentation of "illustrative purposes" notice
This commit is contained in:
Родитель
e66ec2ca2f
Коммит
72a0833c3b
|
@ -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.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче