import React, { useEffect, useRef } from 'react' type RawHtmlIslandProps = { html: string className?: string executeScripts?: boolean } export function RawHtmlIsland({ html, className, executeScripts = false, }: RawHtmlIslandProps) { const rootRef = useRef(null) useEffect(() => { const root = rootRef.current if (!root) return // Если нужны