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

comments mock

This commit is contained in:
muerwre 2019-07-26 18:26:35 +07:00
parent bdf7ba1ccb
commit 2a6604afaf
18 changed files with 340 additions and 12 deletions

View file

@ -1,9 +1,37 @@
import React, { FC } from 'react';
import { Card } from "~/components/containers/Card";
import * as styles from './styles.scss';
import { Group } from "~/components/containers/Group";
import { Padder } from "~/components/containers/Padder";
import range from 'ramda/es/range';
import { Comment } from "~/components/node/Comment";
interface IProps {}
const ImageExample: FC<IProps> = () => (
<div>image example</div>
<Card>
<Group>
<div className={styles.image_container} />
<Padder horizontal>
<Group horizontal>
<Group className={styles.comments}>
{
range(1,6).map(el => (
<Comment
key={el}
/>
))
}
</Group>
<div className={styles.panel}>
</div>
</Group>
</Padder>
</Group>
</Card>
);
export { ImageExample };