1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/components/article/ArticleContent.tsx
2021-08-11 15:06:01 +00:00

19 lines
421 B
TypeScript

type Props = {
children: string
}
/*
NOTE: The markdown-body class is used by the LUNR search scripts.
If this class changes, please also change
updating script/search/parse-page-sections-into-records.js.
*/
export const ArticleContent = ({ children }: Props) => {
return (
<div
id="article-contents"
className="markdown-body"
dangerouslySetInnerHTML={{ __html: children }}
/>
)
}