Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Improve Portal/Modal components #11

Merged
merged 3 commits into from
Aug 30, 2017
Merged

Improve Portal/Modal components #11

merged 3 commits into from
Aug 30, 2017

Conversation

ItsJonQ
Copy link
Contributor

@ItsJonQ ItsJonQ commented Aug 30, 2017

Updates

Main updates

  • Provide Portal with the ability to renderTo a custom selector
  • Add Portal.Container component for custom Portal rendering
  • Add onBeforeOpen, onOpen, onBeforeClose, onClose callback hooks to Portal
  • Add react-router support to Link component
  • Add react-router support to Modal component

Other

  • Add react-router-dom
  • Moved react deps to peerDependencies in package.json
  • Add tests! 100% coverage 💪
  • Update README

Resolves:
#8
#10

**Updates**
* Provide Portal with the ability to renderTo a custom selector
* Add Portal.Container component for custom Portal rendering
* Add onBeforeOpen, onOpen, onBeforeClose, onClose callback hooks to Portal
* Add react-router support to Link component
* Add react-router support to Modal component

**Other**
* Add react-router-dom
* Moved react deps to peerDependencies in package.json
* Add tests! 100% coverage 💪
* Update README
@ItsJonQ ItsJonQ self-assigned this Aug 30, 2017
@ItsJonQ ItsJonQ merged commit 05c8ffe into master Aug 30, 2017
@ItsJonQ ItsJonQ deleted the improve-modal branch September 4, 2017 21:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant