diff --git a/.changeset/perfect-plums-pretend.md b/.changeset/blue-dogs-know.md similarity index 92% rename from .changeset/perfect-plums-pretend.md rename to .changeset/blue-dogs-know.md index 4e0733a..01b18bb 100644 --- a/.changeset/perfect-plums-pretend.md +++ b/.changeset/blue-dogs-know.md @@ -2,22 +2,16 @@ "@wethegit/react-modal": major --- -## Breaking changes - - **Removed** `appendToBody` prop. - - The `appendToBody` prop has been removed. This prop was previously used to determine whether the modal should be appended to the body element. -## New Features + - The `appendToBody` prop has been removed. This prop was previously used to determine whether the modal should be appended to the body element. - **Added** `renderTo` prop. - - Introduced the `renderTo` prop, which accepts an HTMLElement where the modal will be appended. This provides greater flexibilty, allowing users to specify any element to render the modal, including the body. This change enhances the customization options for the modal rendering. -## Fixes + - Introduced the `renderTo` prop, which accepts an HTMLElement where the modal will be appended. This provides greater flexibilty, allowing users to specify any element to render the modal, including the body. This change enhances the customization options for the modal rendering. - Mark argument of hook as optional [#62](https://github.com/wethegit/react-modal/issues/62) -## Migration - - **Before** ```javascript diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index ba01a5d..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "mode": "pre", - "tag": "beta", - "initialVersions": { - "@wethegit/react-modal": "2.2.2" - }, - "changesets": ["perfect-plums-pretend"] -}