Skip to content

Commit

Permalink
fix: add title proptype for item header (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenrikoverland authored Jan 8, 2020
1 parent fbe93f4 commit 1fef3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Item/ItemHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 1fef3e3

Please sign in to comment.