1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00
vault-frontend/src/components/node/NodeRelated/index.tsx
2019-07-27 06:51:03 +07:00

25 lines
656 B
TypeScript

import React, {FC, HTMLAttributes} from 'react';
import { range } from 'ramda';
import * as styles from './styles.scss';
import {Group} from "~/components/containers/Group";
type IProps = HTMLAttributes<HTMLDivElement> & {}
const NodeRelated: FC<IProps> = ({
title,
}) => (
<Group className={styles.wrap}>
<div className={styles.title}>
<div className={styles.line} />
<div className={styles.text}>{title}</div>
<div className={styles.line} />
</div>
<div className={styles.grid}>
{
range(1,7).map(el => (<div className={styles.item} key={el} />))
}
</div>
</Group>
);
export { NodeRelated };