From 016ac2919b14018b0cc5a3959ad52cdb9ac8130d Mon Sep 17 00:00:00 2001 From: Satyajeet Parida Date: Thu, 15 Sep 2016 12:51:32 +0530 Subject: [PATCH] Modified 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() {