Skip to content

Commit 609bdca

Browse files
authored
Fix children PropType (#1044)
1 parent e085a7e commit 609bdca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sticky.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ Sticky.defaultProps = {
493493
* Could be a selector representing a node whose bottom should serve as the bottom boudary.
494494
*/
495495
Sticky.propTypes = {
496-
children: PropTypes.elementType,
496+
children: PropTypes.element,
497497
enabled: PropTypes.bool,
498498
top: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
499499
bottomBoundary: PropTypes.oneOfType([

0 commit comments

Comments
 (0)