mirror of
https://github.com/franjsco/tick3t
synced 2025-06-05 22:19:18 +02:00
refactor: Logo component
This commit is contained in:
@ -1,22 +1,17 @@
|
|||||||
import React, { Component } from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
class Logo extends Component {
|
|
||||||
constructor(props) {
|
|
||||||
super(props);
|
|
||||||
|
|
||||||
this.state = {};
|
const Logo = (props) => {
|
||||||
}
|
return (
|
||||||
|
<div>
|
||||||
render() {
|
<img
|
||||||
return (
|
style={props.style}
|
||||||
<div>
|
src={props.src}
|
||||||
<img
|
alt={props.alt}>
|
||||||
style={this.props.style}
|
</img>
|
||||||
src={this.props.src}
|
</div>
|
||||||
alt={this.props.alt}></img>
|
);
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export default Logo;
|
export default Logo;
|
Reference in New Issue
Block a user