diff --git a/lib/ui/src/components/sidebar/treeview/treeview.js b/lib/ui/src/components/sidebar/treeview/treeview.js index 84ebbe93d9c..0ddf56dfdf1 100644 --- a/lib/ui/src/components/sidebar/treeview/treeview.js +++ b/lib/ui/src/components/sidebar/treeview/treeview.js @@ -392,14 +392,14 @@ TreeState.propTypes = { prefix: PropTypes.string.isRequired, dataset: PropTypes.shape({}).isRequired, selectedId: PropTypes.string, - Filter: PropTypes.element, - List: PropTypes.element, - Title: PropTypes.element, - Link: PropTypes.element, - Leaf: PropTypes.element, - Head: PropTypes.element, - Section: PropTypes.element, - Message: PropTypes.element, + Filter: PropTypes.elementType, + List: PropTypes.elementType, + Title: PropTypes.elementType, + Link: PropTypes.elementType, + Leaf: PropTypes.elementType, + Head: PropTypes.elementType, + Section: PropTypes.elementType, + Message: PropTypes.elementType, }; TreeState.defaultProps = { selectedId: null,