Added Props support to images, improved logo
This commit is contained in:
1 parent
348b3590b0
commit
e85292ef33
4 files changed
+42
-7
No files matched your search
@@ -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 }
|
||||
|
||||
Reference in new issue
Block a user