mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Still working on image preview
This commit is contained in:
parent
13caad7794
commit
ff6855970e
@ -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>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user