Skip to content

Version Packages#80

Merged
andrewrubin merged 1 commit into
mainfrom
changeset-release/main
Aug 20, 2024
Merged

Version Packages#80
andrewrubin merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@wethegit/react-modal@3.0.0

Major Changes

  • #79 6c0e7f9 Thanks @andrewrubin! - - 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.

    • 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.
    • Mark argument of hook as optional #62

    • Before

      <Modal appendToBody={true} />
    • After

      <Modal renderTo={modalRef} />

@andrewrubin andrewrubin self-requested a review August 20, 2024 16:03
@andrewrubin andrewrubin merged commit 263435c into main Aug 20, 2024
@andrewrubin andrewrubin deleted the changeset-release/main branch August 20, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant