Convert rendering to jsx

This commit is contained in:
Endeavorance 2025-03-19 15:57:56 -04:00
parent 0f72d048ee
commit d1b632e83c
25 changed files with 422 additions and 513 deletions

View file

@ -0,0 +1,8 @@
interface HTMLWrapperProps {
html: string;
className?: string;
}
export function HTML({ html, className }: HTMLWrapperProps) {
return <div className={className} dangerouslySetInnerHTML={{ __html: html }} />;
}