Download gitbook/components/DocsContent.js from shimen/kirway: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/shimen/kirway/resolve/main/gitbook/components/DocsContent.js
- Command line
-
hf download hf://spaces/shimen/kirway/gitbook/components/DocsContent.js
-
curl -L -o DocsContent.js https://huggingface.co/spaces/shimen/kirway/resolve/main/gitbook/components/DocsContent.js
350 Bytes
| "use client"; | |
| import { MarkdownRenderer } from "@/utils/markdown"; | |
| export default function DocsContent({ content }) { | |
| return ( | |
| <main className="flex-1 min-w-0 overflow-x-hidden overflow-y-auto"> | |
| <article className="max-w-4xl mx-auto px-4 sm:px-6 py-8"> | |
| <MarkdownRenderer content={content} /> | |
| </article> | |
| </main> | |
| ); | |
| } | |