From 333f1e46ca20af186a6a2243dbd7848f7f856498 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 3 Apr 2016 23:57:44 +0100 Subject: [PATCH] document properties and remove spurious 'view full screen' button --- src/components/views/elements/ImageView.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/views/elements/ImageView.js b/src/components/views/elements/ImageView.js index db23e91b..a55e59e0 100644 --- a/src/components/views/elements/ImageView.js +++ b/src/components/views/elements/ImageView.js @@ -27,6 +27,10 @@ module.exports = React.createClass({ displayName: 'ImageView', propTypes: { + mxEvent: React.PropTypes.object, + src: React.PropTypes.string.isRequired, + width: React.PropTypes.number, + height: React.PropTypes.number, onFinished: React.PropTypes.func.isRequired, name: React.PropTypes.string }, @@ -164,11 +168,6 @@ module.exports = React.createClass({ { size } { res } -
- - View full screen - -
{ eventRedact }