mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 14:16:41 +07:00
comment menu
This commit is contained in:
parent
ab898cc40c
commit
1bf9fe6b83
14 changed files with 319 additions and 98 deletions
20
src/components/node/CommentMenu/index.tsx
Normal file
20
src/components/node/CommentMenu/index.tsx
Normal file
|
@ -0,0 +1,20 @@
|
|||
import React, { FC } from 'react';
|
||||
import styles from './styles.scss';
|
||||
|
||||
interface IProps {
|
||||
onEdit: () => void;
|
||||
onDelete: () => void;
|
||||
}
|
||||
|
||||
const CommentMenu: FC<IProps> = ({ onEdit, onDelete }) => {
|
||||
return (
|
||||
<div className={styles.wrap}>
|
||||
<div className={styles.menu}>
|
||||
<div className={styles.item}>Редактировать</div>
|
||||
<div className={styles.item}>Удалить</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export { CommentMenu };
|
Loading…
Add table
Add a link
Reference in a new issue