From 454bf4544982a41b2328f7d227e67e2f045aff4b Mon Sep 17 00:00:00 2001 From: Rob Brander Date: Fri, 24 Feb 2017 11:45:12 -0500 Subject: [PATCH] Fix gistId propType from number to string --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 755f25c..ecf8f24 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,7 @@ function adjustHeightWhenComplete(myFrame, myDoc) { var GistEmbed = React.createClass({ displayName: 'GistEmbed', propTypes: { - gistId: PropTypes.number.isRequired + gistId: PropTypes.string.isRequired }, componentDidMount: function() {