1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Still working on image preview

This commit is contained in:
vrde 2015-06-04 17:17:39 +02:00
parent 13caad7794
commit ff6855970e

View File

@ -15,7 +15,11 @@ import InjectInHeadMixin from '../../mixins/inject_in_head_mixin';
let Image = React.createClass({
render() {
return (<img src={this.props.preview} />);
return (
<a href={this.props.url} target="_blank" >
<img src={this.props.preview} />
</a>
);
}
});