diff --git a/apps/client/src/widgets/react/RawHtml.tsx b/apps/client/src/widgets/react/RawHtml.tsx index 2b05676dd..ec208fac1 100644 --- a/apps/client/src/widgets/react/RawHtml.tsx +++ b/apps/client/src/widgets/react/RawHtml.tsx @@ -8,20 +8,20 @@ interface RawHtmlProps { style?: CSSProperties; } -export default function RawHtml({ className, html, style }: RawHtmlProps) { - return ; +export default function RawHtml(props: RawHtmlProps) { + return ; } -export function RawHtmlBlock({ className, html, style }: RawHtmlProps) { - return
+export function RawHtmlBlock(props: RawHtmlProps) { + return +} + +function getProps({ className, html, style }: RawHtmlProps) { + return { + className: className, + dangerouslySetInnerHTML: getHtml(html), + style + } } function getHtml(html: string | HTMLElement | JQuery