Capital/components/posts/PostContent.tsx

8 lines
182 B
TypeScript
Raw Normal View History

2024-02-24 09:33:35 +00:00
"use client";
2024-02-24 13:56:35 +00:00
import { PortableText } from "@portabletext/react";
2024-02-24 09:33:35 +00:00
2024-02-24 13:56:35 +00:00
export default function PostContent({ content }: { content: any }) {
return <PortableText value={content} />;
}