1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-01 23:56:41 +07:00

comment form

This commit is contained in:
muerwre 2019-08-26 13:17:55 +07:00
parent 96bdbb0e04
commit c541278686
15 changed files with 357 additions and 89 deletions
src/components/node/NodeComments

View file

@ -2,17 +2,19 @@ import React, { FC } from 'react';
import range from 'ramda/es/range';
import { Comment } from '../Comment';
import { INode } from '~/redux/types';
import { CommentForm } from '../CommentForm';
import { Group } from '~/components/containers/Group';
interface IProps {
comments?: any;
}
const NodeComments: FC<IProps> = ({ comments }) => (
<div>
<Group>
{range(1, 6).map(el => (
<Comment key={el} />
))}
</div>
</Group>
);
export { NodeComments };