Skip to content

Instantly share code, notes, and snippets.

View andrewrjohn's full-sized avatar

Andrew Johnson andrewrjohn

View GitHub Profile
alert("test from gist");
onChangeText={text => this.updateContent(text)}
updateContent(newText) {
this.setState({ contentText: newText });
firebase.database().ref('kettles/' + this.state.currentKettle + '/').set({
content: newText
});
}
@andrewrjohn
andrewrjohn / dabblet.css
Created September 16, 2014 20:01
Untitled
body {
background: #4b74e5;
}
a {
color: black;
text-decoration: none;
}
@andrewrjohn
andrewrjohn / dabblet.css
Created September 16, 2014 19:45
Untitled
body {
margin: 0;
background: #0A539C;
background: linear-gradient(top, #4293d6 0%,#001e96 100%);
overflow: hidden;
}
.words {
display: block;
padding: 50px;