mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
node related images
This commit is contained in:
parent
b8b1e49d94
commit
1a7557eab4
8 changed files with 102 additions and 15 deletions
25
src/components/node/NodeRelated/index.tsx
Normal file
25
src/components/node/NodeRelated/index.tsx
Normal file
|
@ -0,0 +1,25 @@
|
|||
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} />))
|
||||
}
|
||||
</div>
|
||||
</Group>
|
||||
);
|
||||
|
||||
export { NodeRelated };
|
Loading…
Add table
Add a link
Reference in a new issue