We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab2441f commit 4fafd8fCopy full SHA for 4fafd8f
components/modal/index.jsx
@@ -104,7 +104,7 @@ const propTypes = {
104
*/
105
isOpen: PropTypes.bool.isRequired,
106
/**
107
- * Function that returns parent node to contain Modal. Should return document.querySelector('#myModalContainer').
+ * Function whose return value is the mount node to insert the Modal element into. The default is `() => document.body`.
108
109
parentSelector: PropTypes.func,
110
0 commit comments