type PostBodyProps = {
  html: string;
};

/** Renders server-sanitized HTML only (`sanitize-html` on the server). */
export function PostBody({ html }: PostBodyProps) {
  return (
    <div className="post-content" dangerouslySetInnerHTML={{ __html: html }} />
  );
}
