You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// callback for toggling isOpen in the controlling component
32
+
toggle: PropTypes.func,
33
33
target: PropTypes.oneOfType([
34
34
PropTypes.string,
35
35
PropTypes.func,
36
36
DOMElement, // instanceof Element (https://developer.mozilla.org/en-US/docs/Web/API/Element)
37
37
]).isRequired,
38
+
// Where to inject the popper DOM node, default to body
// callback for toggling isOpen in the controlling component
36
+
toggle: PropTypes.func,
37
+
// target element or element ID, popover is attached to this element
37
38
target: PropTypes.oneOfType([
38
39
PropTypes.string,
39
-
PropTypes.object
40
+
PropTypes.func,
41
+
DOMElement, // instanceof Element (https://developer.mozilla.org/en-US/docs/Web/API/Element)
40
42
]).isRequired,
41
-
// target element or element ID, popover is attached to this element
43
+
// Where to inject the popper DOM node, default to body
0 commit comments