Skip to content

Commit 28e61fb

Browse files
authored
Fix prop name typo in MarkdownViewer docs
1 parent 8721fd1 commit 28e61fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/drafts/MarkdownViewer.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The `MarkdownViewer` displays rendered Markdown with appropriate styling and han
1919
const MarkdownViewerExample = () => {
2020
return (
2121
// eslint-disable-next-line github/unescaped-html-literal
22-
<MarkdownViewer dangerousRenderedHtml={{__html: '<strong>Lorem ipsum</strong> dolor sit amet.'}} />
22+
<MarkdownViewer dangerousRenderedHTML={{__html: '<strong>Lorem ipsum</strong> dolor sit amet.'}} />
2323
)
2424
}
2525

@@ -33,7 +33,7 @@ const MarkdownViewerExample = () => {
3333
return (
3434
<MarkdownViewer
3535
// eslint-disable-next-line github/unescaped-html-literal
36-
dangerousRenderedHtml={{__html: "<a href='https://example.com'>Example link</a>"}}
36+
dangerousRenderedHTML={{__html: "<a href='https://example.com'>Example link</a>"}}
3737
onLinkClick={ev => console.log(ev)}
3838
/>
3939
)
@@ -64,7 +64,7 @@ const renderedHtml = `
6464
const MarkdownViewerExample = () => {
6565
return (
6666
<MarkdownViewer
67-
dangerousRenderedHtml={{__html: renderedHtml}}
67+
dangerousRenderedHTML={{__html: renderedHtml}}
6868
markdownValue={markdownSource}
6969
onChange={value => console.log(value) /* save the value to the server */}
7070
disabled={false}

0 commit comments

Comments
 (0)