type RichHtmlProps = {
  html: string;
  className?: string;
};

export default function RichHtml({ html, className }: RichHtmlProps) {
  if (!html.trim()) return null;
  return (
    <div
      className={className}
      dangerouslySetInnerHTML={{ __html: html }}
    />
  );
}
