Download next.js/examples/cms-webiny/components/post-body.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 347 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-webiny/components/post-body.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/cms-webiny/components/post-body.tsx
-
curl -L -o post-body.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-webiny/components/post-body.tsx
347 Bytes
| import markdownStyles from "./markdown-styles.module.css"; | |
| import { RichTextRenderer } from "../lib/rich-text-renderer"; | |
| export default function PostBody({ content }) { | |
| return ( | |
| <div className="max-w-2xl mx-auto"> | |
| <div className={markdownStyles["markdown"]}> | |
| <RichTextRenderer data={content} /> | |
| </div> | |
| </div> | |
| ); | |
| } | |