/** * This component uses Portable Text to render a post body. * * You can learn more about Portable Text on: * https://www.sanity.io/docs/block-content * https://github.com/portabletext/react-portabletext * https://portabletext.org/ * */ import { PortableText, type PortableTextComponents, type PortableTextBlock, } from "next-sanity"; export default function CustomPortableText({ className, value, }: { className?: string; value: PortableTextBlock[]; }) { const components: PortableTextComponents = { block: { h5: ({ children }) => (