From 86dc6f9b8795354b8943de32a73170addb8ae02a Mon Sep 17 00:00:00 2001 From: Jan Henrik Overland Date: Wed, 8 Jan 2020 10:26:01 +0100 Subject: [PATCH] fix: add title proptype for item header --- src/components/Item/ItemHeader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Item/ItemHeader.js b/src/components/Item/ItemHeader.js index be5e2b068..3e16374ef 100644 --- a/src/components/Item/ItemHeader.js +++ b/src/components/Item/ItemHeader.js @@ -22,7 +22,7 @@ const ItemHeader = props => { ItemHeader.propTypes = { actionButtons: PropTypes.node, editMode: PropTypes.bool, - title: PropTypes.object, + title: PropTypes.oneOfType([PropTypes.object, PropTypes.string]), }; export default ItemHeader;