muse/src/render/html/component/base/html.tsx
2025-03-21 12:20:51 -04:00

10 lines
227 B
TypeScript

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