Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GathsaraH authored May 12, 2023
1 parent 490c0b3 commit 1420a3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ You can pass components to change things:
```js
import React from 'react'
import ReactDOM from 'react-dom'
import ReactMarkdown from 'react-markdown'
import ReactMarkdown from 'ink-blend'
import MyFancyRule from './components/my-fancy-rule.js'

ReactDOM.render(
<ReactMarkdown
<InkBlend
components={{
// Use h2s instead of h1s
h1: 'h2',
Expand All @@ -89,7 +89,7 @@ ReactDOM.render(
}}
>
# Your markdown here
</ReactMarkdown>,
</InkBlend>,
document.querySelector('#content')
)
```
Expand Down

0 comments on commit 1420a3d

Please sign in to comment.