Skip to content

Commit 2288a96

Browse files
committed
doc: Update README.md
1 parent faad895 commit 2288a96

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ const Dome = () => (
5454
onChange={this.updateMarkdown}
5555
/>
5656
);
57+
58+
ReactDOM.render(<Dome />, document.getElementById('app'));
5759
```
5860

5961
## Controlled Usage
@@ -73,10 +75,7 @@ function App() {
7375
);
7476
}
7577

76-
ReactDOM.render(
77-
<App />,
78-
document.getElementById('app')
79-
);
78+
ReactDOM.render(<App />, document.getElementById('app'));
8079
```
8180

8281
## Custom Toolbars

0 commit comments

Comments
 (0)