Added Props support to images, improved logo

This commit is contained in:
2018-08-14 21:26:59 +10:00
parent 348b3590b0
commit e85292ef33
4 changed files with 42 additions and 7 deletions

View File

@ -129,6 +129,7 @@ export default class Image extends React.Component {
<picture>
{ sourceElements }
<img
{ ...sourceProps }
onLoad={ this.onLoad.bind(this) }
onError={ this.onError.bind(this) }
src={ defaultSrc }