From f8b4bb66b430a559bbe6c6f78f0137dbd08d8ec2 Mon Sep 17 00:00:00 2001 From: DanielJGeiger <1852529+DanielJGeiger@users.noreply.github.com> Date: Tue, 26 Jul 2022 05:53:30 -0500 Subject: [PATCH] chore: Update peer dependencies to React 18 in `@excalidraw/excalidraw` (#5483) * chore: Update peer dependencies to React 18 in `@excalidraw/excalidraw` * Update src/packages/excalidraw/package.json Co-authored-by: David Luzar Co-authored-by: David Luzar --- src/packages/excalidraw/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/packages/excalidraw/package.json b/src/packages/excalidraw/package.json index 16a39c68..717d3639 100644 --- a/src/packages/excalidraw/package.json +++ b/src/packages/excalidraw/package.json @@ -40,8 +40,8 @@ ] }, "peerDependencies": { - "react": "^17.0.2", - "react-dom": "^17.0.2" + "react": "^17.0.2 || ^18.2.0", + "react-dom": "^17.0.2 || ^18.2.0" }, "devDependencies": { "@babel/core": "7.18.9",