Skip to content

Commit df101ce

Browse files
Merge pull request #14 from remarkjs/docs/typo-in-readme
docs: correct import typo in readme example
2 parents 642866f + 5c6558d commit df101ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const [reactContent, setMarkdownSource] = useRemark({
169169

170170
```tsx
171171
import React, { Fragment } from 'react';
172-
import { useRemark } from 'react-remark';
172+
import { Remark } from 'react-remark';
173173
import remarkGemoji from 'remark-gemoji';
174174
import rehypeSlug from 'rehype-slug';
175175
import rehypeAutoLinkHeadings from 'rehype-autolink-headings';

0 commit comments

Comments
 (0)