Skip to content

Commit baa1751

Browse files
committed
[changed] Replace appElement with getAppElement
This makes getAppElement a required prop as well as makes it a function that will be called expecting a DOMElement. closes #287 This also takes some inspiration from #359 for handling arrays of objects. Upgrade Path: - If you had specified an appElement via `Modal.setAppElement`, then you need to convert that to a getAppElement prop on the modal, this should be a function that returns either a single element or an array of elements. - If you had nothing specified you will need to add the getAppElement element to prevent beakages.
1 parent 9cb8441 commit baa1751

File tree

3 files changed

+163
-117
lines changed

3 files changed

+163
-117
lines changed

0 commit comments

Comments
 (0)