mirror of
https://github.com/stackblitz/bolt.new
synced 2025-06-26 18:17:50 +00:00
chore: updated @types/react, @types/react-dom, react, react-markdown, react-dom
This commit is contained in:
parent
ba92f03097
commit
92d9581695
@ -61,14 +61,15 @@ export const Markdown = memo(({ children, html = false, limitedMarkdown = false
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<ReactMarkdown
|
||||
allowedElements={allowedHTMLElements}
|
||||
className={styles.MarkdownContent}
|
||||
components={components}
|
||||
remarkPlugins={remarkPlugins(limitedMarkdown)}
|
||||
rehypePlugins={rehypePlugins(html)}
|
||||
>
|
||||
{children}
|
||||
</ReactMarkdown>
|
||||
<div className={styles.MarkdownContent}>
|
||||
<ReactMarkdown
|
||||
allowedElements={allowedHTMLElements}
|
||||
components={components}
|
||||
remarkPlugins={remarkPlugins(limitedMarkdown)}
|
||||
rehypePlugins={rehypePlugins(html)}
|
||||
>
|
||||
{children}
|
||||
</ReactMarkdown>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
10
package.json
10
package.json
@ -62,10 +62,10 @@
|
||||
"istextorbinary": "^9.5.0",
|
||||
"jose": "^6.0.11",
|
||||
"nanostores": "^1.0.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"react-hotkeys-hook": "^5.1.0",
|
||||
"react-markdown": "^9.1.0",
|
||||
"react-markdown": "^10.1.0",
|
||||
"react-resizable-panels": "^3.0.3",
|
||||
"react-toastify": "^11.0.5",
|
||||
"rehype-raw": "^7.0.0",
|
||||
@ -81,8 +81,8 @@
|
||||
"@cloudflare/workers-types": "^4.20241127.0",
|
||||
"@remix-run/dev": "^2.10.0",
|
||||
"@types/diff": "^7.0.2",
|
||||
"@types/react": "^18.2.20",
|
||||
"@types/react-dom": "^18.2.7",
|
||||
"@types/react": "^19.1.8",
|
||||
"@types/react-dom": "^19.1.6",
|
||||
"fast-glob": "^3.3.2",
|
||||
"is-ci": "^4.1.0",
|
||||
"node-fetch": "^3.3.2",
|
||||
|
Loading…
Reference in New Issue
Block a user