Added Props support to images, improved logo

This commit is contained in:
YourWishes committed 2018-08-14 21:26:59 +10:00
1 parent 348b3590b0
commit e85292ef33
4 files changed
+42 -7

No files matched your search

+1
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 }