Skip to content

Commit 1a07f89

Browse files
committed
Add banner to playground
1 parent 750c383 commit 1a07f89

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

playground/src/PlaygroundView.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,26 @@ export class PlaygroundView extends React.Component<IPlaygroundViewProps, IPlayg
139139
borderColor: '#c0c0c0'
140140
};
141141

142+
const bannerStyle: React.CSSProperties = {
143+
width: '100%',
144+
padding: '8px 16px',
145+
border: '1px solid #006721',
146+
borderRadius: '3px',
147+
color: 'var(--white)',
148+
background: '#108938',
149+
marginBottom: '8px',
150+
fontSize: '14px'
151+
};
152+
142153
return (
143154
<FlexColDiv className="playground-input-box" style={{ flex: 1 }}>
144155
<div className="playground-button-bar" style={{ height: '40px', boxSizing: 'border-box' }}>
145156
{this._renderSelectSample()}
146157
{this._renderThemeSelector()}
147158
</div>
159+
<div className="playground-notice-banner" style={bannerStyle}>
160+
TSDoc does not parse Typescript. Typescript code used here is for illustrative purposes only.
161+
</div>
148162
<CodeEditor
149163
className="playground-input-text-editor"
150164
style={editorStyle}

0 commit comments

Comments
 (0)