From 1fef3e38c252c7073a966b3d9637e5e21de04fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Henrik=20=C3=98verland?= Date: Wed, 8 Jan 2020 14:21:55 +0100 Subject: [PATCH] fix: add title proptype for item header (#525) --- 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;