'use client';

import './texteditor.css';

interface TextDisplayProps {
  content: string;
  className?: string;
}

const HTMLContentDisplay = ({ content, className = '' }: TextDisplayProps) => {
  if (!content) return null;

  return (
    <div
    className={className}
    dangerouslySetInnerHTML={{ __html: content }}
    />
  );
};

export default HTMLContentDisplay;