Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
feat(Comment): Exporting List and Reply as sub-members of Comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronCoplan committed Nov 14, 2018
1 parent d2d4c6a commit 9e83734
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/Comment/Comment.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import cn from "classnames";
import List from "../List/List.react";
import Media from "../Media/Media.react";
import Text from "../Text/Text.react";
import CommentList from "./CommentList.react";
import CommentReply from "./CommentReply.react";

type Props = {|
+children?: React.Node,
Expand Down Expand Up @@ -44,4 +46,7 @@ function Comment({
);
}

Comment.List = CommentList;
Comment.Reply = CommentReply;

export default Comment;

0 comments on commit 9e83734

Please sign in to comment.