Skip to content

Instantly share code, notes, and snippets.

Last active February 5, 2019 07:34
What would you like to do?
Youtube in React: wiring up AddComment, CommentsHeader and Comment component
import React from 'react';
import {CommentsHeader} from "./CommentsHeader/CommentsHeader";
import {AddComment} from "./AddComment/AddComment";
import {Comment} from "./Comment/Comment";
export class Comments extends React.Component {
render() {
return (
<CommentsHeader amountComments={this.props.amountComments}/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment