mirror of
https://git.meshkee.com/novintrades/website.git
synced 2026-08-12 05:00:58 +04:30
Initial commit: NovinTrades website monorepo.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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 }}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user