Skip to content

Instantly share code, notes, and snippets.

@BretCameron
Created March 7, 2019 12:58
Show Gist options
  • Save BretCameron/0d682d455f5c7c88785bd984a20bac61 to your computer and use it in GitHub Desktop.
Save BretCameron/0d682d455f5c7c88785bd984a20bac61 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import './App.css';
class App extends Component {
constructor(props) {
super(props);
this.state = { skin: 'night' };
}
render() {
return (
<div>
<header className="App-header">
<p style={{ fontSize: '50px', cursor: 'pointer' }}>Change Skin</p>
</header>
</div>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment