From 7e740acb97f04c092b7154c0c4c76b4ccfd00097 Mon Sep 17 00:00:00 2001 From: Stephen Lee Date: Thu, 19 Sep 2024 15:18:39 -0700 Subject: [PATCH] Changeset --- .changeset/loud-items-thank.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changeset/loud-items-thank.md diff --git a/.changeset/loud-items-thank.md b/.changeset/loud-items-thank.md new file mode 100644 index 0000000000..fa9b518a0d --- /dev/null +++ b/.changeset/loud-items-thank.md @@ -0,0 +1,7 @@ +--- +'@lg-tools/codemods': minor +--- + +[LG-4525](https://jira.mongodb.org/browse/LG-4525) Add `consolidate-usePortal-into-renderMode` codemod which can be used to refactor `Popover` components. It will: +1. Add an explicit `usePortal` prop if not specified +2. Consolidates `usePortal` prop into `renderMode` prop