From 5ca399ece33102d046474d350193b1f7c2315198 Mon Sep 17 00:00:00 2001 From: Karl Shea Date: Thu, 9 Jan 2025 14:17:42 -0600 Subject: [PATCH] Fix children PropType --- src/Sticky.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sticky.jsx b/src/Sticky.jsx index 14c39eb6..deccb8c7 100644 --- a/src/Sticky.jsx +++ b/src/Sticky.jsx @@ -493,7 +493,7 @@ Sticky.defaultProps = { * Could be a selector representing a node whose bottom should serve as the bottom boudary. */ Sticky.propTypes = { - children: PropTypes.elementType, + children: PropTypes.element, enabled: PropTypes.bool, top: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), bottomBoundary: PropTypes.oneOfType([