Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, {Component} from 'react';
- import './style.css';
- export default class Img extends Component {
- render() {
- return (
- <img
- width={this.props.width}
- height={this.props.height}
- src={this.props.src}
- alt={this.props.alt}
- className={this.props.className}
- />
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement