's'
This commit is contained in:
12
app/digital/components/DayContent.tsx
Normal file
12
app/digital/components/DayContent.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
"use client";
|
||||
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import remarkGfm from "remark-gfm";
|
||||
|
||||
export default function DayContent({ content }: { content: string }) {
|
||||
return (
|
||||
<div className="prose-custom">
|
||||
<ReactMarkdown remarkPlugins={[remarkGfm]}>{content}</ReactMarkdown>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user