diff --git a/src/components/stage.js b/src/components/stage.js index 9af7f5a02..2f872371b 100644 --- a/src/components/stage.js +++ b/src/components/stage.js @@ -6,17 +6,23 @@ class Stage extends React.Component { ); } } Stage.propTypes = { - stageRef: React.PropTypes.func + stageRef: React.PropTypes.func, + width: React.PropTypes.number, + height: React.PropTypes.number }; Stage.defaultProps = { - stageRef: function () {} + stageRef: function () {}, + width: 480, + height: 360 }; module.exports = Stage;