Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

Markdown.js

10 lines281 Bytes

1import * as React from 'react';
2import markdownStyles from './markdown.module.css';
3export const Markdown = ({
4 html: content
5}) => {
6 return <div className={markdownStyles['markdown']} dangerouslySetInnerHTML={{
7 __html: content
8 }} />;
9};
10Markdown.displayName = 'PostBody';