Skip to content

Commit 280bc43

Browse files
committed
readme typo
1 parent 755c17b commit 280bc43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Think of the implementation like applying styles in CSS. changes to the `body` e
5757

5858
```jsx
5959
const copy = `
60-
This is some text which is red because of the root style, which is also really small!
60+
This is some text which is red because of the body style, which is also really small!
6161
6262
\`\`\`
6363
//This is a code block woooo
@@ -82,7 +82,7 @@ const App: () => React$Node = () => {
8282
<Markdown
8383
mergeStyle={true}
8484
style={{
85-
root: {color: 'red', fontSize: 10},
85+
body: {color: 'red', fontSize: 10},
8686
heading1: {color: 'purple'},
8787
codeBlock: {color: 'black', fontSize: 14}
8888
}}

0 commit comments

Comments
 (0)