Skip to content

Commit

Permalink
Tiny prop-types fix
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Aug 16, 2019
1 parent 78d6275 commit eb13a6b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion assets/src/stories-editor/components/draggable-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,12 @@ DraggableText.propTypes = {
toggleIsEditing: PropTypes.func.isRequired,
toggleOverlay: PropTypes.func.isRequired,
text: PropTypes.string.isRequired,
textStyle: PropTypes.string.isRequired,
textStyle: PropTypes.shape( {
color: PropTypes.string,
fontSize: PropTypes.string,
textAlign: PropTypes.string,
position: PropTypes.string,
} ).isRequired,
textWrapperClass: PropTypes.string.isRequired,
placeholder: PropTypes.string.isRequired,
};
Expand Down

0 comments on commit eb13a6b

Please sign in to comment.