Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View infinityCounter's full-sized avatar

Emile Keith infinityCounter

View GitHub Profile
void main() {
Object s = null;
if (s is Object) {
print("object");
} else if (s is Null) {
print("null");
} else {
print ("none");
}
}
.comment-view {
width: 75%;
margin: 0 auto;
margin-bottom: 2.5em;
}
.comment-view-controls {
font-size: 0.74em;
color: blue;
}
@infinityCounter
infinityCounter / gist:2e5589b9cb7fbcd8b55cd9e8dc38dc86
Created August 7, 2017 01:18
Quick React.js Comment List with editable comments
class CommentView extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<div className="comment-view">
<p className="comment-view-body">
{this.props.message}