Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React, { Component } from 'react';
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<img style={{ width: '100%' }} src="https://thecatapi.com/api/images/get?format=src&type=jpg"/>
</div>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment