Skip to content

Commit 387a2b0

Browse files
committed
updated the default example for repl
1 parent 1878fcc commit 387a2b0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/01-getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# Hello world
1+
# Getting Started
2+
3+

website/src/pages/repl/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import * as uriUtils from './utils/uriUtils';
88

99
const STARTING_CODE = {
1010
code: `type ButtonPropType = {
11-
/* This is*/
12-
label: string
11+
/* Handler to be called on click of the button*/
12+
onClick: () => void
1313
}
1414
class Button extends React.Component<ButtonPropType>{
1515
}`,

0 commit comments

Comments
 (0)