1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

NodeLayout

This commit is contained in:
muerwre 2019-08-25 16:10:46 +07:00
parent 684a4f4474
commit b154277de8
23 changed files with 332 additions and 65 deletions

View file

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